共用方式為


RuleSetChangeAction.ValidateChanges(Activity) 方法

定義

在衍生類別中覆寫時,會驗證 RuleSet 已正確設定,而且沒有任何錯誤。

protected:
 override System::Workflow::ComponentModel::Compiler::ValidationErrorCollection ^ ValidateChanges(System::Workflow::ComponentModel::Activity ^ activity);
protected override System.Workflow.ComponentModel.Compiler.ValidationErrorCollection ValidateChanges (System.Workflow.ComponentModel.Activity activity);
override this.ValidateChanges : System.Workflow.ComponentModel.Activity -> System.Workflow.ComponentModel.Compiler.ValidationErrorCollection
Protected Overrides Function ValidateChanges (activity As Activity) As ValidationErrorCollection

參數

activity
Activity

Activity 變更發生所在的 RuleSet

傳回

ValidationErrorCollection

驗證錯誤的集合。

適用於