CompositeActivity::OnActivityChangeAdd Method (ActivityExecutionContext^, Activity^)
.NET Framework (current version)
Calls when an activity is added.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
public protected: virtual void OnActivityChangeAdd( ActivityExecutionContext^ executionContext, Activity^ addedActivity )
Parameters
- executionContext
-
Type:
System.Workflow.ComponentModel::ActivityExecutionContext^
The specified ActivityExecutionContext.
- addedActivity
-
Type:
System.Workflow.ComponentModel::Activity^
The specified Activity.
| Exception | Condition |
|---|---|
| ArgumentNullException | executionContext is a null reference (Nothing in Visual Basic). |
| ArgumentNullException | addedActivity is a null reference (Nothing). |
.NET Framework
Available since 3.0
Available since 3.0
Show: