Edit

Bagikan melalui


ActivityTrackingRecord Class

Definition

Caution

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

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.

public ref class ActivityTrackingRecord : System::Workflow::Runtime::Tracking::TrackingRecord
public class ActivityTrackingRecord : System.Workflow.Runtime.Tracking.TrackingRecord
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ActivityTrackingRecord : System.Workflow.Runtime.Tracking.TrackingRecord
type ActivityTrackingRecord = class
    inherit TrackingRecord
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityTrackingRecord = class
    inherit TrackingRecord
Public Class ActivityTrackingRecord
Inherits TrackingRecord
Inheritance
ActivityTrackingRecord
Attributes

Remarks

Note

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.

Constructors

ActivityTrackingRecord()

Initializes a new instance of the ActivityTrackingRecord class.

ActivityTrackingRecord(Type, String, Guid, Guid, ActivityExecutionStatus, DateTime, Int32, EventArgs)

Initializes a new instance of the ActivityTrackingRecord class by using the specified parameters.

Properties

ActivityType

Gets or sets the common language runtime (CLR) type of the activity associated with this ActivityTrackingRecord.

Annotations

Gets the collection of annotations associated with the ActivityTrackPoint that was matched.

Body

Gets a list that contains any data extracted from the workflow for the ActivityTrackPoint that was matched.

ContextGuid

Context of the activity.

EventArgs

Always null for an ActivityTrackingRecord.

EventDateTime

Gets or sets the date and time that the activity status event occurred.

EventOrder

Gets or sets a value that indicates the order in the workflow instance of the activity status event that matched the ActivityTrackPoint.

ExecutionStatus

Gets or sets the execution status of the activity associated with this ActivityTrackingRecord.

ParentContextGuid

Context of the parent activity.

QualifiedName

Gets or sets the identifier of the activity associated with this ActivityTrackingRecord.

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