RuleSetChangeAction.ValidateChanges(Activity) 方法

定义

在派生类中重写时,验证 RuleSet 是否配置正确且没有错误。When overridden in a derived class, verifies that the RuleSet is configured correctly and has no errors.

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 更改的 RuleSetThe Activity that the RuleSet changes are occurring in.

返回

ValidationErrorCollection

验证错误的集合。The collection of the validation errors.

适用于