WorkflowChanges.Validate 方法
定义
验证当前的建议更改集,这些更改是对 TransientWorkflow 属性表示的活动树所进行的更改。Validates the current set of proposed changes that have been made to the activity tree represented by the TransientWorkflow property.
public:
System::Workflow::ComponentModel::Compiler::ValidationErrorCollection ^ Validate();
public System.Workflow.ComponentModel.Compiler.ValidationErrorCollection Validate ();
member this.Validate : unit -> System.Workflow.ComponentModel.Compiler.ValidationErrorCollection
Public Function Validate () As ValidationErrorCollection
返回
一个 ValidationErrorCollection 对象,其中包含在验证期间发生的任何错误或警告。A ValidationErrorCollection object that contains any errors or warnings that occurred during validation.