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

验证错误的集合。

适用于