Udostępnij za pośrednictwem


CompositeActivity.OnActivityChangeAdd Metoda

Definicja

Wywołuje funkcję po dodaniu działania.

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)

Parametry

executionContext
ActivityExecutionContext

Określony ActivityExecutionContextelement .

addedActivity
Activity

Określony Activityelement .

Wyjątki

executionContextjest odwołaniem o wartości null (Nothing w Visual Basic).

-lub-

addedActivity jest odwołaniem o wartości null (Nothing).

Dotyczy