Edytuj

Udostępnij za pośrednictwem


CompositeActivity.OnActivityChangeAdd Method

Definition

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)

Parameters

executionContext
ActivityExecutionContext

The specified ActivityExecutionContext.

addedActivity
Activity

The specified Activity.

Exceptions

executionContext is a null reference (Nothing in Visual Basic).

-or-

addedActivity is a null reference (Nothing).

Applies to