ReceiveContext.BeginComplete(TimeSpan, AsyncCallback, Object) Method

Definition

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

C#
public virtual IAsyncResult BeginComplete(TimeSpan timeout, AsyncCallback callback, object state);

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

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1