Edit

Share via


CustomTrackingRecord Constructors

Definition

Creates a new instance of the CustomTrackingRecord class.

Overloads

CustomTrackingRecord(CustomTrackingRecord)

Creates a new instance of the CustomTrackingRecord class based on information from the specified CustomTrackingRecord instance.

CustomTrackingRecord(String)

Creates a new instance of the CustomTrackingRecord class with the specified custom tracking record name.

CustomTrackingRecord(String, TraceLevel)

Creates a new instance of the CustomTrackingRecord class with the specified custom tracking record name and trace level.

CustomTrackingRecord(Guid, String, TraceLevel)

Creates a new instance of the CustomTrackingRecord class with the specified instance ID, custom tracking record name, and trace level.

CustomTrackingRecord(CustomTrackingRecord)

Creates a new instance of the CustomTrackingRecord class based on information from the specified CustomTrackingRecord instance.

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)

Parameters

record
CustomTrackingRecord

The custom tracking record instance to use.

Applies to

CustomTrackingRecord(String)

Creates a new instance of the CustomTrackingRecord class with the specified custom tracking record name.

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)

Parameters

name
String

The name of the custom tracking record.

Applies to

CustomTrackingRecord(String, TraceLevel)

Creates a new instance of the CustomTrackingRecord class with the specified custom tracking record name and trace level.

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)

Parameters

name
String

The name of the custom tracking record.

level
TraceLevel

The trace level used by the tracking record.

Applies to

CustomTrackingRecord(Guid, String, TraceLevel)

Creates a new instance of the CustomTrackingRecord class with the specified instance ID, custom tracking record name, and trace level.

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)

Parameters

instanceId
Guid

The ID of the activity.

name
String

The name of the custom tracking record.

level
TraceLevel

The trace level used by the tracking record.

Applies to