TrackingRecord Constructors

Definition

When implemented in a derived class, creates a new instance of the derived class.

Overloads

TrackingRecord(TrackingRecord)

When implemented in a derived class, creates a new instance of the derived class with the specified instance tracking record.

TrackingRecord(Guid)

When implemented in a derived class, creates a new instance of the derived class with the specified instance ID.

TrackingRecord(Guid, Int64)

When implemented in a derived class, creates a new instance of the derived class with the specified instance ID and record number.

TrackingRecord(TrackingRecord)

When implemented in a derived class, creates a new instance of the derived class with the specified instance tracking record.

C#
protected TrackingRecord(System.Activities.Tracking.TrackingRecord record);

Parameters

record
TrackingRecord

The tracking record of the generating activity.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

TrackingRecord(Guid)

When implemented in a derived class, creates a new instance of the derived class with the specified instance ID.

C#
protected TrackingRecord(Guid instanceId);

Parameters

instanceId
Guid

The ID of the generating workflow instance.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

TrackingRecord(Guid, Int64)

When implemented in a derived class, creates a new instance of the derived class with the specified instance ID and record number.

C#
protected TrackingRecord(Guid instanceId, long recordNumber);

Parameters

instanceId
Guid

The ID of the generating workflow instance.

recordNumber
Int64

A sequence that defines the order in which tracking records are generated.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1