Compartir a través de


CompositeActivity.OnActivityChangeAdd Método

Definición

Llama cuando se agrega una actividad.

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.

addedActivity
Activity

Objeto Activity especificado.

Excepciones

executionContext es una referencia nula (Nothing en Visual Basic).

O bien

addedActivity es una referencia nula (Nothing).

Se aplica a