Condividi tramite


StateActivityValidator.ValidateActivityChange Metodo

Definizione

Convalida le modifiche eseguite a 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

Parametri

activity
Activity

Nome della StateActivity da convalidare.

action
ActivityChangeAction

Azione intrapresa sull'attività StateActivity.

Restituisce

ValidationError

ValidationErrorCollection contenente gli errori di questa operazione.

Si applica a