Language

TopicClient.OnBeginClose(TimeSpan, AsyncCallback, Object) Method

Definition

Executes the begin close action.

protected override IAsyncResult OnBeginClose(TimeSpan timeout, AsyncCallback callback, object state);
override this.OnBeginClose : TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected Overrides Function OnBeginClose (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

timeout
System.TimeSpan

The wait time before the operation times out.

callback
System.AsyncCallback

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

state
System.Object

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

Returns

System.IAsyncResult

An System.IAsyncResult that references the asynchronous Close operation.

Applies to