TrackingParticipant.BeginTrack Method

Definition

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

protected public:
 virtual IAsyncResult ^ BeginTrack(System::Activities::Tracking::TrackingRecord ^ record, TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
protected internal virtual IAsyncResult BeginTrack (System.Activities.Tracking.TrackingRecord record, TimeSpan timeout, AsyncCallback callback, object state);
abstract member BeginTrack : System.Activities.Tracking.TrackingRecord * TimeSpan * AsyncCallback * obj -> IAsyncResult
override this.BeginTrack : System.Activities.Tracking.TrackingRecord * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected Friend Overridable Function BeginTrack (record As TrackingRecord, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

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