WorkflowTrackingRecord Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the WorkflowTrackingRecord class.
Overloads
WorkflowTrackingRecord() |
Initializes a new instance of the WorkflowTrackingRecord class. |
WorkflowTrackingRecord(TrackingWorkflowEvent, DateTime, Int32, EventArgs) |
Initializes a new instance of the WorkflowTrackingRecord class by using the specified TrackingWorkflowEvent value, DateTime, number, and EventArgs. |
Remarks
The constructor is called by the runtime tracking infrastructure.
WorkflowTrackingRecord()
Initializes a new instance of the WorkflowTrackingRecord class.
public:
WorkflowTrackingRecord();
public WorkflowTrackingRecord ();
Public Sub New ()
Remarks
This constructor is called by the runtime tracking infrastructure.
Applies to
WorkflowTrackingRecord(TrackingWorkflowEvent, DateTime, Int32, EventArgs)
Initializes a new instance of the WorkflowTrackingRecord class by using the specified TrackingWorkflowEvent value, DateTime, number, and EventArgs.
public:
WorkflowTrackingRecord(System::Workflow::Runtime::Tracking::TrackingWorkflowEvent trackingWorkflowEvent, DateTime eventDateTime, int eventOrder, EventArgs ^ eventArgs);
public WorkflowTrackingRecord (System.Workflow.Runtime.Tracking.TrackingWorkflowEvent trackingWorkflowEvent, DateTime eventDateTime, int eventOrder, EventArgs eventArgs);
new System.Workflow.Runtime.Tracking.WorkflowTrackingRecord : System.Workflow.Runtime.Tracking.TrackingWorkflowEvent * DateTime * int * EventArgs -> System.Workflow.Runtime.Tracking.WorkflowTrackingRecord
Public Sub New (trackingWorkflowEvent As TrackingWorkflowEvent, eventDateTime As DateTime, eventOrder As Integer, eventArgs As EventArgs)
Parameters
- trackingWorkflowEvent
- TrackingWorkflowEvent
One of the TrackingWorkflowEvent values.
- eventDateTime
- DateTime
A DateTime that indicates the date and time of the workflow status event associated with the tracking record.
- eventOrder
- Int32
The relative order in which the workflow status event associated with this tracking record occurred in the workflow instance.
- eventArgs
- EventArgs
Either a TrackingWorkflowSuspendedEventArgs, a TrackingWorkflowTerminatedEventArgs, a TrackingWorkflowExceptionEventArgs, or a null reference (Nothing
in Visual Basic).
Remarks
eventDateTime
is expressed in Coordinated Universal Time (UTC). eventOrder
is guaranteed to be unique within the workflow instance; however, it is not guaranteed to be sequential.
This constructor is called by the runtime tracking infrastructure.