ActivityCollection Constructor (Activity)

 

Initializes a new instance of the ActivityCollection class, initializing an owner Activity.

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

Public Sub New (
	owner As Activity
)

Parameters

owner
Type: System.Workflow.ComponentModel.Activity

The Activity designated as owning this instance.

Exception Condition
ArgumentNullException

owner is a null reference (Nothing in Visual Basic).

ArgumentException

owner is not a descendent of Activity.

Example

.NET Framework
Available since 3.0
Return to top
Show: