Redigeeri

Jagamisviis:


ICommunicationObject.EndClose(IAsyncResult) Method

Definition

Completes an asynchronous operation to close a communication object.

public:
 void EndClose(IAsyncResult ^ result);
public void EndClose (IAsyncResult result);
abstract member EndClose : IAsyncResult -> unit
Public Sub EndClose (result As IAsyncResult)

Parameters

result
IAsyncResult

The IAsyncResult that is returned by a call to the BeginClose method.

Exceptions

BeginClose was called on an object in the Faulted state.

The timeout elapsed before the ICommunicationObject was able to close gracefully.

Applies to