Condividi tramite


CompositeActivity.OnActivityChangeAdd Metodo

Definizione

Chiama quando viene aggiunta un'attività.

protected public:
 virtual void OnActivityChangeAdd(System::Workflow::ComponentModel::ActivityExecutionContext ^ executionContext, System::Workflow::ComponentModel::Activity ^ addedActivity);
protected internal virtual void OnActivityChangeAdd (System.Workflow.ComponentModel.ActivityExecutionContext executionContext, System.Workflow.ComponentModel.Activity addedActivity);
abstract member OnActivityChangeAdd : System.Workflow.ComponentModel.ActivityExecutionContext * System.Workflow.ComponentModel.Activity -> unit
override this.OnActivityChangeAdd : System.Workflow.ComponentModel.ActivityExecutionContext * System.Workflow.ComponentModel.Activity -> unit
Protected Friend Overridable Sub OnActivityChangeAdd (executionContext As ActivityExecutionContext, addedActivity As Activity)

Parametri

executionContext
ActivityExecutionContext

Classe ActivityExecutionContext specificata.

addedActivity
Activity

Classe Activity specificata.

Eccezioni

executionContext è un riferimento null (Nothing in Visual Basic).

-oppure-

addedActivity è un riferimento null (Nothing).

Si applica a