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.5.3, 4, 3.5, 3.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft