ActivityTrackingLocation Class

 
Note: This API is now obsolete.

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)

System.Object
  System.Workflow.Runtime.Tracking.ActivityTrackingLocation

[SerializableAttribute]
[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ActivityTrackingLocation

NameDescription
System_CAPS_pubmethodActivityTrackingLocation()

Initializes a new instance of the ActivityTrackingLocation class.

System_CAPS_pubmethodActivityTrackingLocation(String)

Initializes a new instance of the ActivityTrackingLocation class by using the specified activity name.

System_CAPS_pubmethodActivityTrackingLocation(String, Boolean, IEnumerable<ActivityExecutionStatus>)

Initializes a new instance of the ActivityTrackingLocation class that has a reference activity type with the specified unqualified name, that specifies whether to match activities derived from the reference activity type, and that matches the specified activity execution status events.

System_CAPS_pubmethodActivityTrackingLocation(String, IEnumerable<ActivityExecutionStatus>)

Initializes a new instance of the ActivityTrackingLocation class that has a reference activity type with the specified unqualified name and that matches the specified activity execution status events.

System_CAPS_pubmethodActivityTrackingLocation(Type)

Initializes a new instance of the ActivityTrackingLocation class by using the specified reference activity type.

System_CAPS_pubmethodActivityTrackingLocation(Type, Boolean, IEnumerable<ActivityExecutionStatus>)

Initializes a new instance of the ActivityTrackingLocation class that has the specified reference activity type, that specifies whether to match activities derived from the reference activity type, and that matches the specified activity execution status events.

System_CAPS_pubmethodActivityTrackingLocation(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.

NameDescription
System_CAPS_pubpropertyActivityType

Gets or sets the common language runtime (CLR) type of the reference activity to be matched.

System_CAPS_pubpropertyActivityTypeName

Gets or sets the unqualified name of the reference activity type for the location.

System_CAPS_pubpropertyConditions

Gets a collection of conditions that are used to qualify interest in the activity.

System_CAPS_pubpropertyExecutionStatusEvents

Gets the list of activity status events that can be matched for this location.

System_CAPS_pubpropertyMatchDerivedTypes

Gets or sets a value that indicates whether activities derived from the reference activity type should be matched.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_noteNote

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. 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.

System_CAPS_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.

.NET Framework
Available since 3.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: