ICommunicationObject.EndClose(IAsyncResult) ICommunicationObject.EndClose(IAsyncResult) ICommunicationObject.EndClose(IAsyncResult) ICommunicationObject.EndClose(IAsyncResult) Method

Définition

Termine une opération asynchrone pour fermer un objet de communication.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)

Paramètres

result
IAsyncResult IAsyncResult IAsyncResult IAsyncResult

Objet IAsyncResult qui est retourné par un appel à la méthode BeginClose.The IAsyncResult that is returned by a call to the BeginClose method.

Exceptions

Le délai d'attente s'est écoulé avant que l'ICommunicationObject ait pu se fermer normalement.The timeout elapsed before the ICommunicationObject was able to close gracefully.

S’applique à