ActivityStateRecord(Guid, Int64, ActivityInfo, String) Constructor

Definition

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

public:
 ActivityStateRecord(Guid instanceId, long recordNumber, System::Activities::Tracking::ActivityInfo ^ activity, System::String ^ state);
public ActivityStateRecord (Guid instanceId, long recordNumber, System.Activities.Tracking.ActivityInfo activity, string state);
new System.Activities.Tracking.ActivityStateRecord : Guid * int64 * System.Activities.Tracking.ActivityInfo * string -> System.Activities.Tracking.ActivityStateRecord
Public Sub New (instanceId As Guid, recordNumber As Long, activity As ActivityInfo, state As String)

Parameters

instanceId
Guid

The instance ID of the activity.

recordNumber
Int64

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

activity
ActivityInfo

The activity.

state
String

The activity state.

Applies to