CustomTrackingRecord 构造函数

定义

创建 CustomTrackingRecord 类的新实例。

重载

CustomTrackingRecord(CustomTrackingRecord)

基于指定 CustomTrackingRecord 实例中的信息创建 CustomTrackingRecord 类的新实例。

CustomTrackingRecord(String)

使用指定的自定义跟踪记录名称创建 CustomTrackingRecord 类的新实例。

CustomTrackingRecord(String, TraceLevel)

使用指定的自定义跟踪记录名称和跟踪级别创建 CustomTrackingRecord 类的新实例。

CustomTrackingRecord(Guid, String, TraceLevel)

使用指定的实例 ID、自定义跟踪记录名称和跟踪级别创建 CustomTrackingRecord 类的新实例。

CustomTrackingRecord(CustomTrackingRecord)

基于指定 CustomTrackingRecord 实例中的信息创建 CustomTrackingRecord 类的新实例。

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

参数

record
CustomTrackingRecord

要使用的自定义跟踪记录实例。

适用于

CustomTrackingRecord(String)

使用指定的自定义跟踪记录名称创建 CustomTrackingRecord 类的新实例。

public:
 CustomTrackingRecord(System::String ^ name);
public CustomTrackingRecord (string name);
new System.Activities.Tracking.CustomTrackingRecord : string -> System.Activities.Tracking.CustomTrackingRecord
Public Sub New (name As String)

参数

name
String

自定义跟踪记录的名称。

适用于

CustomTrackingRecord(String, TraceLevel)

使用指定的自定义跟踪记录名称和跟踪级别创建 CustomTrackingRecord 类的新实例。

public:
 CustomTrackingRecord(System::String ^ name, System::Diagnostics::TraceLevel level);
public CustomTrackingRecord (string name, System.Diagnostics.TraceLevel level);
new System.Activities.Tracking.CustomTrackingRecord : string * System.Diagnostics.TraceLevel -> System.Activities.Tracking.CustomTrackingRecord
Public Sub New (name As String, level As TraceLevel)

参数

name
String

自定义跟踪记录的名称。

level
TraceLevel

跟踪记录使用的跟踪级别。

适用于

CustomTrackingRecord(Guid, String, TraceLevel)

使用指定的实例 ID、自定义跟踪记录名称和跟踪级别创建 CustomTrackingRecord 类的新实例。

public:
 CustomTrackingRecord(Guid instanceId, System::String ^ name, System::Diagnostics::TraceLevel level);
public CustomTrackingRecord (Guid instanceId, string name, System.Diagnostics.TraceLevel level);
new System.Activities.Tracking.CustomTrackingRecord : Guid * string * System.Diagnostics.TraceLevel -> System.Activities.Tracking.CustomTrackingRecord
Public Sub New (instanceId As Guid, name As String, level As TraceLevel)

参数

instanceId
Guid

活动的 ID。

name
String

自定义跟踪记录的名称。

level
TraceLevel

跟踪记录使用的跟踪级别。

适用于