SubscriptionClient.OnBeginClose(TimeSpan, AsyncCallback, Object) Method

Definition

Executes the begin close action.

protected override IAsyncResult OnBeginClose (TimeSpan timeout, AsyncCallback callback, object state);
Parameters
timeout
TimeSpan

The wait time before the operation times out.

callback
AsyncCallback

An AsyncCallback delegate that references the method to invoke when the operation is complete.

state
Object

A user-defined object that contains information about the receive operation. This object is passed to the BeginClose delegate when the operation is complete.

Returns

An IAsyncResultthat references the asynchronous BeginClose.

Applies to