Edit

Share via


WorkflowInstanceRecord Constructors

Definition

Creates a new instance of the WorkflowInstanceRecord class.

Overloads

WorkflowInstanceRecord(WorkflowInstanceRecord)

Creates a new instance of the WorkflowInstanceRecord class from an existing WorkflowInstanceRecord instance.

WorkflowInstanceRecord(Guid, String, String)

Creates a new instance of the WorkflowInstanceRecord class.

WorkflowInstanceRecord(Guid, Int64, String, String)

Creates a new instance of the WorkflowInstanceRecord class.

WorkflowInstanceRecord(Guid, String, String, WorkflowIdentity)

Creates a new instance of the WorkflowInstanceRecord class.

WorkflowInstanceRecord(Guid, Int64, String, String, WorkflowIdentity)

Creates a new instance of the WorkflowInstanceRecord class.

WorkflowInstanceRecord(WorkflowInstanceRecord)

Creates a new instance of the WorkflowInstanceRecord class from an existing WorkflowInstanceRecord instance.

protected:
 WorkflowInstanceRecord(System::Activities::Tracking::WorkflowInstanceRecord ^ record);
protected WorkflowInstanceRecord (System.Activities.Tracking.WorkflowInstanceRecord record);
new System.Activities.Tracking.WorkflowInstanceRecord : System.Activities.Tracking.WorkflowInstanceRecord -> System.Activities.Tracking.WorkflowInstanceRecord
Protected Sub New (record As WorkflowInstanceRecord)

Parameters

record
WorkflowInstanceRecord

The instance of the workflow instance record to use.

Applies to

WorkflowInstanceRecord(Guid, String, String)

Creates a new instance of the WorkflowInstanceRecord class.

public:
 WorkflowInstanceRecord(Guid instanceId, System::String ^ activityDefinitionId, System::String ^ state);
public WorkflowInstanceRecord (Guid instanceId, string activityDefinitionId, string state);
new System.Activities.Tracking.WorkflowInstanceRecord : Guid * string * string -> System.Activities.Tracking.WorkflowInstanceRecord
Public Sub New (instanceId As Guid, activityDefinitionId As String, state As String)

Parameters

instanceId
Guid

The instance ID of the generating workflow instance.

activityDefinitionId
String

The display name of the root activity of the workflow.

state
String

The current state of the workflow when the record is generated.

Applies to

WorkflowInstanceRecord(Guid, Int64, String, String)

Creates a new instance of the WorkflowInstanceRecord class.

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

Parameters

instanceId
Guid

The instance ID of the generating workflow instance.

recordNumber
Int64

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

activityDefinitionId
String

The display name of the root activity of the workflow.

state
String

The current state of the workflow when the record is generated.

Applies to

WorkflowInstanceRecord(Guid, String, String, WorkflowIdentity)

Creates a new instance of the WorkflowInstanceRecord class.

public:
 WorkflowInstanceRecord(Guid instanceId, System::String ^ activityDefinitionId, System::String ^ state, System::Activities::WorkflowIdentity ^ workflowDefinitionIdentity);
public WorkflowInstanceRecord (Guid instanceId, string activityDefinitionId, string state, System.Activities.WorkflowIdentity workflowDefinitionIdentity);
new System.Activities.Tracking.WorkflowInstanceRecord : Guid * string * string * System.Activities.WorkflowIdentity -> System.Activities.Tracking.WorkflowInstanceRecord
Public Sub New (instanceId As Guid, activityDefinitionId As String, state As String, workflowDefinitionIdentity As WorkflowIdentity)

Parameters

instanceId
Guid

The instance ID of the generating workflow instance.

activityDefinitionId
String

The display name of the root activity of the workflow.

state
String

The current state of the workflow when the record is generated.

workflowDefinitionIdentity
WorkflowIdentity

The information about the workflow identity.

Applies to

WorkflowInstanceRecord(Guid, Int64, String, String, WorkflowIdentity)

Creates a new instance of the WorkflowInstanceRecord class.

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

Parameters

instanceId
Guid

The instance ID of the generating workflow instance.

recordNumber
Int64

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

activityDefinitionId
String

The display name of the root activity of the workflow.

state
String

The current state of the workflow when the record is generated.

workflowDefinitionIdentity
WorkflowIdentity

The information about the workflow identity.

Applies to