Επεξεργασία

Κοινή χρήση μέσω


ActivityStateRecord Class

Definition

Represents a tracking record that is created when an activity changes state.

public ref class ActivityStateRecord sealed : System::Activities::Tracking::TrackingRecord
[System.Runtime.Serialization.DataContract]
public sealed class ActivityStateRecord : System.Activities.Tracking.TrackingRecord
[<System.Runtime.Serialization.DataContract>]
type ActivityStateRecord = class
    inherit TrackingRecord
Public NotInheritable Class ActivityStateRecord
Inherits TrackingRecord
Inheritance
ActivityStateRecord
Attributes

Constructors

ActivityStateRecord(Guid, Int64, ActivityInfo, String)

Initializes a new instance of the ActivityStateRecord class using the specified instance ID, record number, activity and activity state.

Properties

Activity

Gets an ActivityInfo that contains information on the activity when the record is generated.

Annotations

When implemented in a derived class, represents a collection of name/value pairs that are added to this tracking record.

(Inherited from TrackingRecord)
Arguments

Gets the current values of the tracked arguments associated with the activity when the record is generated.

EventTime

When implemented in a derived class, represents the time the tracking record occurred.

(Inherited from TrackingRecord)
InstanceId

When implemented in a derived class, represents the ID of the generating workflow instance.

(Inherited from TrackingRecord)
Level

Gets the TraceLevel of the event.

(Inherited from TrackingRecord)
RecordNumber

A sequence that defines the order in which tracking records are generated.

(Inherited from TrackingRecord)
State

Gets the current state of the activity when the record is generated.

Variables

Gets the current values of the tracked variables associated with the activity when the record is generated.

Methods

Clone()

Creates a copy of the TrackingRecord.

(Inherited from TrackingRecord)
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 contains all the details of the tracking record.

Applies to