ReceiveContext.BeginComplete(TimeSpan, AsyncCallback, Object) Method

Definition

Begins an asynchronous complete operation with the specified timeout, asynchronous callback, and user-defined state data.

public:
 virtual IAsyncResult ^ BeginComplete(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
public virtual IAsyncResult BeginComplete (TimeSpan timeout, AsyncCallback callback, object state);
abstract member BeginComplete : TimeSpan * AsyncCallback * obj -> IAsyncResult
override this.BeginComplete : TimeSpan * AsyncCallback * obj -> IAsyncResult
Public Overridable Function BeginComplete (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 complete operation.

Applies to