Partager via


StateActivityValidator.ValidateActivityChange Méthode

Définition

Valide les modifications apportées à 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

Paramètres

activity
Activity

Le nom de la classe StateActivity à valider.

action
ActivityChangeAction

L'action prise sur StateActivity.

Retours

ValidationError

ValidationErrorCollection qui contient les erreurs de cette opération.

S’applique à