WorkflowChangeAction.ValidateChanges(Activity) Method

Definition

When overridden in a derived class, validates the changes and returns a ValidationErrorCollection that contains any errors.

protected public:
 abstract System::Workflow::ComponentModel::Compiler::ValidationErrorCollection ^ ValidateChanges(System::Workflow::ComponentModel::Activity ^ activity);
protected internal abstract System.Workflow.ComponentModel.Compiler.ValidationErrorCollection ValidateChanges (System.Workflow.ComponentModel.Activity activity);
abstract member ValidateChanges : System.Workflow.ComponentModel.Activity -> System.Workflow.ComponentModel.Compiler.ValidationErrorCollection
Protected Friend MustOverride Function ValidateChanges (activity As Activity) As ValidationErrorCollection

Parameters

activity
Activity

The Activity upon which to validate the changes.

Returns

A ValidationErrorCollection that contains any errors.

Exceptions

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

Applies to