Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ActivityTrackingRecord Class

Note: This API is now obsolete.

Contains the data sent to a tracking service by the runtime tracking infrastructure when an ActivityTrackPoint is matched. It is also used in the return list of the ActivityEvents property.


Namespace:  System.Workflow.Runtime.Tracking
Assembly:  System.Workflow.Runtime (in System.Workflow.Runtime.dll)

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

The ActivityTrackingRecord type exposes the following members.

Public methodActivityTrackingRecord()Initializes a new instance of the ActivityTrackingRecord class.
Public methodActivityTrackingRecord(Type, String, Guid, Guid, ActivityExecutionStatus, DateTime, Int32, EventArgs)Initializes a new instance of the ActivityTrackingRecord class by using the specified parameters.

Public propertyActivityTypeGets or sets the common language runtime (CLR) type of the activity associated with this ActivityTrackingRecord.
Public propertyAnnotationsGets the collection of annotations associated with the ActivityTrackPoint that was matched. (Overrides TrackingRecord.Annotations.)
Public propertyBodyGets a list that contains any data extracted from the workflow for the ActivityTrackPoint that was matched.
Public propertyContextGuidContext of the activity.
Public propertyEventArgsAlways null for an ActivityTrackingRecord. (Overrides TrackingRecord.EventArgs.)
Public propertyEventDateTimeGets or sets the date and time that the activity status event occurred. (Overrides TrackingRecord.EventDateTime.)
Public propertyEventOrderGets or sets a value that indicates the order in the workflow instance of the activity status event that matched the ActivityTrackPoint. (Overrides TrackingRecord.EventOrder.)
Public propertyExecutionStatusGets or sets the execution status of the activity associated with this ActivityTrackingRecord.
Public propertyParentContextGuidContext of the parent activity.
Public propertyQualifiedNameGets or sets the identifier of the activity associated with this ActivityTrackingRecord.

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)


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

When the runtime tracking infrastructure matches an ActivityTrackPoint in a TrackingProfile, it sends an ActivityTrackingRecord to the tracking service over the TrackingChannel associated with that tracking service. The tracking service can perform whatever action is needed on the data in the tracking record.

.NET Framework

Supported in: 4, 3.5, 3.0
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2

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