Partilhar via


StateActivityValidator.ValidateActivityChange Método

Definição

Valida as alterações feitas no 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

Parâmetros

activity
Activity

O nome do StateActivity a ser validado.

action
ActivityChangeAction

A ação executada no StateActivity.

Retornos

ValidationError

Um ValidationErrorCollection que contém os erros desta operação.

Aplica-se a