ActivityStateRecord Class

.NET Framework (current version)
 

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

Namespace:   System.Activities.Tracking
Assembly:  System.Activities (in System.Activities.dll)

System::Object
  System.Activities.Tracking::TrackingRecord
    System.Activities.Tracking::ActivityStateRecord

[DataContractAttribute]
public ref class ActivityStateRecord sealed : TrackingRecord

NameDescription
System_CAPS_pubmethodActivityStateRecord(Guid, Int64, ActivityInfo^, String^)

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

NameDescription
System_CAPS_pubpropertyActivity

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

System_CAPS_pubpropertyAnnotations

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

System_CAPS_pubpropertyArguments

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

System_CAPS_pubpropertyEventTime

When implemented in a derived class, represents the time the tracking record occurred.(Inherited from TrackingRecord.)

System_CAPS_pubpropertyInstanceId

When implemented in a derived class, represents the ID of the generating workflow instance.(Inherited from TrackingRecord.)

System_CAPS_pubpropertyLevel

Gets the TraceLevel of the event.(Inherited from TrackingRecord.)

System_CAPS_pubpropertyRecordNumber

A sequence that defines the order in which tracking records are generated. (Inherited from TrackingRecord.)

System_CAPS_pubpropertyState

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

System_CAPS_pubpropertyVariables

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

NameDescription
System_CAPS_protmethodClone()

Creates a copy of the TrackingRecord.(Inherited from TrackingRecord.)

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 contains all the details of the tracking record.(Overrides TrackingRecord::ToString().)

.NET Framework
Available since 4.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: