Edit

Share via


CompositeActivityDesigner.OnContainedActivitiesChanging Method

Definition

Occurs when an activity or a group of activities contained within the designer are changing. This occurs, for example, when a new child activity is added or an existing child activity is removed.

protected:
 virtual void OnContainedActivitiesChanging(System::Workflow::ComponentModel::ActivityCollectionChangeEventArgs ^ listChangeArgs);
protected virtual void OnContainedActivitiesChanging (System.Workflow.ComponentModel.ActivityCollectionChangeEventArgs listChangeArgs);
abstract member OnContainedActivitiesChanging : System.Workflow.ComponentModel.ActivityCollectionChangeEventArgs -> unit
override this.OnContainedActivitiesChanging : System.Workflow.ComponentModel.ActivityCollectionChangeEventArgs -> unit
Protected Overridable Sub OnContainedActivitiesChanging (listChangeArgs As ActivityCollectionChangeEventArgs)

Parameters

listChangeArgs
ActivityCollectionChangeEventArgs

An ActivityCollectionChangeEventArgs that contains information about the change.

Exceptions

listChangeArgs contains a null reference (Nothing in Visual Basic).

Remarks

Use OnContainedActivitiesChanging to respond to changes that are occurring to the activities contained within the composite activity.

Applies to