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

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public virtual IAsyncResult BeginAbandon(
	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

An IAsyncResult that references the asynchronous abandon operation.

.NET Framework
Available since 4.0
Return to top
Show: