ActivityTrackingLocation Constructor (Type)

 
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 ActivityTrackingLocation class by using the specified reference activity type.

Namespace:   System.Workflow.Runtime.Tracking
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)

public ActivityTrackingLocation(
	Type activityType
)

Parameters

activityType
Type: System.Type

The Type of an activity.

Exception Condition
ArgumentNullException

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

ActivityType is set to activityType.

The following table shows the initial property values for an instance of ActivityTrackingLocation.

Property

Value

ActivityTypeName

A null reference (Nothing in Visual Basic).

ActivityType

The reference activity type specified by activityType.

Conditions

An empty TrackingConditionCollection.

ExecutionStatusEvents

An empty List<T>.

MatchDerivedTypes

false.

.NET Framework
Available since 3.0
Return to top
Show: