Defines a point, associated with an activity execution status change, to be tracked that is in the potential execution path of a workflow instance. This class cannot be inherited.
Assembly: System.Workflow.Runtime (in System.Workflow.Runtime.dll)
Whenever the execution status of an activity changes, the workflow instance emits an activity status event to the runtime tracking infrastructure. An defines a point of interest in the potential execution path of a workflow, qualified by such an activity status event. An contains locations that are included in matching, locations that are excluded from matching, and the data that should be extracted from the workflow instance when the track point is matched. You can add an to ActivityTrackPoints to instruct the runtime tracking infrastructure to send an ActivityTrackingRecord to the tracking service when the specified set of activity status events occur. A single may be matched at multiple points in the workflow instance.
An ActivityTrackingLocation contains match conditions for a location or locations in the potential execution path of a workflow instance. You can add ActivityTrackingLocation objects to MatchingLocations to define locations that should be included in matching by the track point. Similarly, you can add ActivityTrackingLocation objects to ExcludedLocations to define locations that should be excluded from matching by the track point.
You can add ActivityDataTrackingExtract objects and WorkflowDataTrackingExtract objects to Extracts to specify data that should be extracted from the workflow instance when the track point is matched. The extracted data will be included in the ActivityTrackingRecord.