ActivityTrackPoint Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

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.

public ref class ActivityTrackPoint sealed
public sealed class ActivityTrackPoint
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ActivityTrackPoint
type ActivityTrackPoint = class
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityTrackPoint = class
Public NotInheritable Class ActivityTrackPoint
Inheritance
ActivityTrackPoint
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

Whenever the execution status of an activity changes, the workflow instance emits an activity status event to the runtime tracking infrastructure. An ActivityTrackPoint defines a point of interest in the potential execution path of a workflow, qualified by such an activity status event. An ActivityTrackPoint 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 ActivityTrackPoint 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 ActivityTrackPoint 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.

You can add to Annotations to specify additional information associated with the track point. These annotations will be included in the ActivityTrackingRecord sent when the track point is matched.

Constructors

ActivityTrackPoint()

Initializes a new instance of the ActivityTrackPoint class.

Properties

Annotations

Gets the collection of annotations associated with the track point.

ExcludedLocations

Gets the collection of locations that should be excluded from the track point by the runtime tracking infrastructure.

Extracts

Gets a collection that specifies data to be extracted from the workflow instance and sent to the tracking service.

MatchingLocations

Gets the collection of locations that should be included in matching for the track point by the runtime tracking infrastructure.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to