WorkflowTrackingRecord 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 WorkflowTrackingRecord 类的新实例。
重载
注解
构造函数由运行时跟踪基础结构调用。
WorkflowTrackingRecord()
初始化 WorkflowTrackingRecord 类的新实例。
public:
WorkflowTrackingRecord();
public WorkflowTrackingRecord();
Public Sub New ()
注解
此构造函数由运行时跟踪基础结构调用。
适用于
WorkflowTrackingRecord(TrackingWorkflowEvent, DateTime, Int32, EventArgs)
使用指定的值、WorkflowTrackingRecord数字和TrackingWorkflowEvent值初始化类的新实例DateTime。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)
参数
- trackingWorkflowEvent
- TrackingWorkflowEvent
其中一个 TrackingWorkflowEvent 值。
- eventOrder
- Int32
与此跟踪记录关联的工作流状态事件在工作流实例中发生的相对顺序。
- eventArgs
- EventArgs
TrackingWorkflowSuspendedEventArgs、TrackingWorkflowTerminatedEventArgs、TrackingWorkflowExceptionEventArgs 或 null 引用(Visual Basic 中的 Nothing)。
注解
eventDateTime 以协调世界时(UTC)表示。
eventOrder 保证在工作流实例中是唯一的;但是,不保证按顺序排列。
此构造函数由运行时跟踪基础结构调用。