WorkflowInstance.BeginFlushTrackingRecords(TimeSpan, AsyncCallback, Object) 方法

定義

由工作流程執行階段呼叫,會開始傳送暫止的追蹤記錄,以非同步的方式追蹤參與者。Called by the workflow runtime to begin sending pending tracking records to tracking participants asynchronously.

protected:
 IAsyncResult ^ BeginFlushTrackingRecords(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
protected IAsyncResult BeginFlushTrackingRecords (TimeSpan timeout, AsyncCallback callback, object state);
member this.BeginFlushTrackingRecords : TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected Function BeginFlushTrackingRecords (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

參數

timeout
TimeSpan

一段時間,經過這段時間之後會中止嘗試。The time period after which to abort the attempt.

callback
AsyncCallback

追蹤作業完成時要呼叫的方法。The method to be called when the track operation has completed.

state
Object

非同步作業的相關資訊。The information about the asynchronous operation.

傳回

目前追蹤作業的狀態。The status of the current track operation.

適用於