CompositeActivityDesigner.OnContainedActivitiesChanging Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.