Export (0) Print
Expand All

ReceiveContext.OnBeginAbandon Method (Exception, TimeSpan, AsyncCallback, Object)

.NET Framework 4.6 and 4.5

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

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

protected virtual IAsyncResult OnBeginAbandon(
	Exception exception,
	TimeSpan timeout,
	AsyncCallback callback,
	Object state
)

Parameters

exception
Type: System.Exception

An exception that contains the reason for the abandon operation.

timeout
Type: System.TimeSpan

The timeout for the abandon 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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft