CompositeActivity.OnActivityChangeAdd Methode

Definition

Wird beim Hinzufügen einer Aktivität aufgerufen.

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)

Parameter

executionContext
ActivityExecutionContext

Das angegebene ActivityExecutionContext.

addedActivity
Activity

Das angegebene Activity.

Ausnahmen

executionContext ist ein NULL-Verweis (Nothing in Visual Basic).

- oder -

addedActivity ist ein NULL-Verweis (Nothing).

Gilt für