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.

C#
protected virtual void OnContainedActivitiesChanging(System.Workflow.ComponentModel.ActivityCollectionChangeEventArgs listChangeArgs);

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

Produkt Verzie
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1