ActivityTrackingLocation Constructor (String)

 

Initializes a new instance of the ActivityTrackingLocation class by using the specified activity name.

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

public ActivityTrackingLocation(
	string activityTypeName
)

Parameters

activityTypeName
Type: System.String

The unqualified name of the common language runtime (CLR) type of an activity.

Exception Condition
ArgumentNullException

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

You must specify the unqualified name of the reference activity type. For example, the unqualified name of the CLR type of a CodeActivity activity is "CodeActivity". ActivityTypeName is set to activityTypeName.

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

Property

Value

ActivityTypeName

The unqualified name specified by activityTypeName of the reference activity type.

ActivityType

A null reference (Nothing).

Conditions

An empty TrackingConditionCollection.

ExecutionStatusEvents

An empty List<T>.

MatchDerivedTypes

false.

.NET Framework
Available since 3.0
Return to top
Show: