TrackingParticipant.BeginTrack Method (TrackingRecord, TimeSpan, AsyncCallback, Object)

.NET Framework (current version)

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

Namespace:   System.Activities.Tracking
Assembly:  System.Activities (in System.Activities.dll)

protected internal virtual IAsyncResult BeginTrack(
	TrackingRecord record,
	TimeSpan timeout,
	AsyncCallback callback,
	object state


Type: System.Activities.Tracking.TrackingRecord

The generated tracking record.

Type: System.TimeSpan

The time period after which the provider aborts the attempt.

Type: System.AsyncCallback

The method to be called on completion of the operation.

Type: System.Object

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

Return Value

Type: System.IAsyncResult

The result of the operation.

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.

.NET Framework
Available since 4.0
Return to top