Compartir a través de


StateActivityValidator.ValidateActivityChange Método

Definición

Valida los cambios realizados en 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

Nombre de la StateActivity que se va a validar.

action
ActivityChangeAction

La acción realizada en la clase StateActivity.

Devoluciones

ValidationError

ValidationErrorCollection que contiene los errores de esta operación.

Se aplica a