This topic has not yet been rated - Rate this topic

ActivityTrackingLocation Class

Defines an activity-qualified location that corresponds to an activity status event in the potential execution path of a root workflow instance. This class cannot be inherited.

Namespace:  System.Workflow.Runtime.Tracking
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)
[SerializableAttribute]
public sealed class ActivityTrackingLocation

Whenever the execution status of an activity changes, the workflow instance emits an activity status event to the runtime tracking infrastructure. The runtime tracking infrastructure can send the tracking service an ActivityTrackingRecord whenever an activity status event occurs. Usually, a tracking service is not interested in every activity status event that occurs in the workflow instance, but only in activity status events associated with certain kinds of activities at specified locations in the workflow instance. An ActivityTrackingLocation defines the matching parameters for such a location by specifying a reference activity type, a set of activity status change events, and a set of conditions that can more precisely qualify an instance or instances of the reference activity type.

NoteNote:

A single ActivityTrackingLocation may refer to more than one actual location in the potential execution path of a workflow instance.

You add ActivityTrackingLocation objects to MatchingLocations and ExcludedLocations in order to define the match parameters for an ActivityTrackPoint in a TrackingProfile.

You must specify the reference activity type to be matched by setting either ActivityTypeName or ActivityType.

You may set MatchDerivedTypes to specify interest in activities derived from the reference activity type.

You may add ActivityExecutionStatus values to ExecutionStatusEvents to specify the activity status events to be matched.

You may add ActivityTrackingCondition objects to Conditions to specify interest in the reference activity type only for specific conditions. For example, you can specify interest in only a particular named instance of the reference activity type.

System.Object
  System.Workflow.Runtime.Tracking.ActivityTrackingLocation
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

.NET Framework

Supported in: 3.5, 3.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.