ActivityTrackingRecord 构造函数

定义

初始化 ActivityTrackingRecord 类的新实例。

重载

ActivityTrackingRecord()

初始化 ActivityTrackingRecord 类的新实例。

ActivityTrackingRecord(Type, String, Guid, Guid, ActivityExecutionStatus, DateTime, Int32, EventArgs)

使用指定的参数初始化 ActivityTrackingRecord 类的新实例。

注解

该构造函数由运行时跟踪基础结构调用。

ActivityTrackingRecord()

初始化 ActivityTrackingRecord 类的新实例。

public:
 ActivityTrackingRecord();
public ActivityTrackingRecord ();
Public Sub New ()

注解

该构造函数由运行时跟踪基础结构调用。

适用于

ActivityTrackingRecord(Type, String, Guid, Guid, ActivityExecutionStatus, DateTime, Int32, EventArgs)

使用指定的参数初始化 ActivityTrackingRecord 类的新实例。

public:
 ActivityTrackingRecord(Type ^ activityType, System::String ^ qualifiedName, Guid contextGuid, Guid parentContextGuid, System::Workflow::ComponentModel::ActivityExecutionStatus executionStatus, DateTime eventDateTime, int eventOrder, EventArgs ^ eventArgs);
public ActivityTrackingRecord (Type activityType, string qualifiedName, Guid contextGuid, Guid parentContextGuid, System.Workflow.ComponentModel.ActivityExecutionStatus executionStatus, DateTime eventDateTime, int eventOrder, EventArgs eventArgs);
new System.Workflow.Runtime.Tracking.ActivityTrackingRecord : Type * string * Guid * Guid * System.Workflow.ComponentModel.ActivityExecutionStatus * DateTime * int * EventArgs -> System.Workflow.Runtime.Tracking.ActivityTrackingRecord
Public Sub New (activityType As Type, qualifiedName As String, contextGuid As Guid, parentContextGuid As Guid, executionStatus As ActivityExecutionStatus, eventDateTime As DateTime, eventOrder As Integer, eventArgs As EventArgs)

参数

activityType
Type

与活动状态事件关联的活动的 Type

qualifiedName
String

与活动状态事件关联的活动的 QualifiedName

contextGuid
Guid

Guid,它标识与活动状态事件关联的活动的 ActivityExecutionContext

parentContextGuid
Guid

Guid,它标识与活动状态事件关联的活动的父活动的 ActivityExecutionContext

executionStatus
ActivityExecutionStatus

ActivityExecutionStatus 值之一。

eventDateTime
DateTime

一个 DateTime,指示与跟踪记录关联的活动状态事件的日期和时间。

eventOrder
Int32

与此跟踪记录关联的活动状态事件在工作流实例中发生的相对顺序。

eventArgs
EventArgs

空引用(在 Visual Basic 中为 Nothing)。 没有为 ActivityTrackingRecord 设置此字段。

适用于