ReceiveContext.OnBeginComplete Method (TimeSpan, AsyncCallback, Object)

.NET Framework (current version)
 

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

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected abstract IAsyncResult OnBeginComplete(
	TimeSpan timeout,
	AsyncCallback callback,
	object state
)

Parameters

timeout
Type: System.TimeSpan

The timeout for the complete operation to complete.

callback
Type: System.AsyncCallback

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

state
Type: System.Object

The user-defined state data.

Return Value

Type: System.IAsyncResult

A IAsyncResult that references the asynchronous operation.

.NET Framework
Available since 4.0
Return to top
Show: