Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ActivityTrackingLocation Constructor (Type, IEnumerable<ActivityExecutionStatus>)

Initializes a new instance of the ActivityTrackingLocation class that has the specified reference activity type and matches the specified activity execution status events.

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

public ActivityTrackingLocation(
	Type activityType,
	IEnumerable<ActivityExecutionStatus> executionStatusEvents
)

Parameters

activityType
Type: System.Type

The Type of an activity.

executionStatusEvents
Type: System.Collections.Generic.IEnumerable<ActivityExecutionStatus>

A collection that contains one or more of the ActivityExecutionStatus values.

ExceptionCondition
ArgumentNullException

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

-or-

executionStatusEvents is a null reference (Nothing).

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

Property

Value

ActivityTypeName

A null reference (Nothing).

ActivityType

The reference activity type specified by activityType.

Conditions

An empty TrackingConditionCollection.

ExecutionStatusEvents

A List<T> that contains the ActivityExecutionStatus values specified by executionStatusEvents.

MatchDerivedTypes

false.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
Show:
© 2015 Microsoft