Compartilhar via


CompositeActivity.OnActivityChangeAdd Método

Definição

Chama quando uma atividade é adicionada.

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)

Parâmetros

executionContext
ActivityExecutionContext

O ActivityExecutionContext especificado.

addedActivity
Activity

O Activity especificado.

Exceções

executionContext é uma referência nula (Nothing no Visual Basic).

- ou -

addedActivity é uma referência nula (Nothing).

Aplica-se a