TrackingParticipant.BeginTrack Method

Definition

When implemented in a derived class, begins asynchronous processing of the tracking record.

C#
protected internal virtual IAsyncResult BeginTrack(System.Activities.Tracking.TrackingRecord record, TimeSpan timeout, AsyncCallback callback, object state);

Parameters

record
TrackingRecord

The generated tracking record.

timeout
TimeSpan

The time period after which the provider aborts the attempt.

callback
AsyncCallback

The method to be called on completion of the operation.

state
Object

A user-defined object that uniquely identifies this asynchronous operation.

Returns

The result of the operation.

Remarks

Participants are expected to begin a job to process the records and return an IAsyncResult that the workflow runtime uses to wait for completion. The default implementation is to call Track and return a Completed status.

Applies to

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