編集

次の方法で共有


StateActivityValidator.ValidateActivityChange Method

Definition

Validates the changes made to StateActivity.

public:
 override System::Workflow::ComponentModel::Compiler::ValidationError ^ ValidateActivityChange(System::Workflow::ComponentModel::Activity ^ activity, System::Workflow::ComponentModel::ActivityChangeAction ^ action);
public override System.Workflow.ComponentModel.Compiler.ValidationError ValidateActivityChange (System.Workflow.ComponentModel.Activity activity, System.Workflow.ComponentModel.ActivityChangeAction action);
override this.ValidateActivityChange : System.Workflow.ComponentModel.Activity * System.Workflow.ComponentModel.ActivityChangeAction -> System.Workflow.ComponentModel.Compiler.ValidationError
Public Overrides Function ValidateActivityChange (activity As Activity, action As ActivityChangeAction) As ValidationError

Parameters

activity
Activity

The name of the StateActivity to validate.

action
ActivityChangeAction

The action taken on the StateActivity.

Returns

A ValidationErrorCollection that contains the errors from this operation.

Applies to