StateActivityValidator.Validate(ValidationManager, Object) 方法

定义

在工作流编译期间验证 StateActivity 类。

public:
 override System::Workflow::ComponentModel::Compiler::ValidationErrorCollection ^ Validate(System::Workflow::ComponentModel::Compiler::ValidationManager ^ manager, System::Object ^ obj);
public override System.Workflow.ComponentModel.Compiler.ValidationErrorCollection Validate (System.Workflow.ComponentModel.Compiler.ValidationManager manager, object obj);
override this.Validate : System.Workflow.ComponentModel.Compiler.ValidationManager * obj -> System.Workflow.ComponentModel.Compiler.ValidationErrorCollection
Public Overrides Function Validate (manager As ValidationManager, obj As Object) As ValidationErrorCollection

参数

manager
ValidationManager

用于进行此验证的 ValidationManager

obj
Object

要验证的 Object

返回

ValidationErrorCollection

包含此操作产生的错误的 ValidationErrorCollection

例外

obj 为空引用(在 Visual Basic 中为 Nothing)。

适用于