ActivityTrackingLocation Class
Assembly: System.Workflow.Runtime (in system.workflow.runtime.dll)
'Declaration <SerializableAttribute> _ Public NotInheritable Class ActivityTrackingLocation 'Usage Dim instance As ActivityTrackingLocation
/** @attribute SerializableAttribute() */ public final class ActivityTrackingLocation
SerializableAttribute public final class ActivityTrackingLocation
Not applicable.
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.
Note: |
|---|
| 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.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Note: