CompositeActivity.OnActivityChangeAdd(ActivityExecutionContext, Activity) Método

Definición

Llama cuando se agrega una actividad.Calls when an activity is added.

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

Objeto ActivityExecutionContext especificado.The specified ActivityExecutionContext.

addedActivity
Activity

Objeto Activity especificado.The specified Activity.

Excepciones

executionContext es una referencia nula (Nothing en Visual Basic).executionContext is a null reference (Nothing in Visual Basic).

O bien-or-

addedActivity es una referencia nula (Nothing).addedActivity is a null reference (Nothing).

Se aplica a