AddedActivityAction Constructor (CompositeActivity, Activity)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the AddedActivityAction class by using a specified activity and composite activity.

Namespace:   System.Workflow.ComponentModel
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public AddedActivityAction(
	CompositeActivity compositeActivity,
	Activity activityAdded
)

Parameters

compositeActivity
Type: System.Workflow.ComponentModel.CompositeActivity

The CompositeActivity that the AddedActivityAction is based on.

activityAdded
Type: System.Workflow.ComponentModel.Activity

The Activity added to the workflow.

Exception Condition
ArgumentNullException

compositeActivity or activityAdded are a null reference (Nothing in Visual Basic).

.NET Framework
Available since 3.0
Return to top
Show: