Bewerken

Delen via


ReceiveContext.OnBeginComplete(TimeSpan, AsyncCallback, Object) Method

Definition

Called when the state machine is transitioning to the completed state asynchronously with the specified timeout, callback, and state data.

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

Parameters

timeout
TimeSpan

The timeout for the complete operation to complete.

callback
AsyncCallback

The asynchronous callback delegate that receives the notification of the asynchronous operation completion.

state
Object

The user-defined state data.

Returns

A IAsyncResult that references the asynchronous operation.

Applies to