Bearbeiten

Freigeben über


StateActivityValidator.Validate(ValidationManager, Object) Method

Definition

Validates the StateActivity class during workflow compilation.

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

Parameters

manager
ValidationManager

The ValidationManager to use for this validation.

obj
Object

The Object to validate.

Returns

A ValidationErrorCollection that contains the errors from this operation.

Exceptions

obj is a null reference (Nothing in Visual Basic).

Applies to