LdapConnection.Abort(IAsyncResult) Método

Definição

O método Abort(IAsyncResult) cancela a solicitação assíncrona.The Abort(IAsyncResult) method cancels the asynchronous request.

public:
 void Abort(IAsyncResult ^ asyncResult);
public void Abort (IAsyncResult asyncResult);
member this.Abort : IAsyncResult -> unit
Public Sub Abort (asyncResult As IAsyncResult)

Parâmetros

asyncResult
IAsyncResult

Um objeto IAsyncResult que faz referência à solicitação assíncrona.A IAsyncResult object that references the asynchronous request.

Exceções

O identificador do objeto não é válido.The object handle is not valid.

asyncResult é nulo (Nothing no Visual Basic).asyncResult is null (Nothing in Visual Basic).

asyncResult não foi retornado pela chamada correspondente para BeginSendRequestasyncResult was not returned by the corresponding call to BeginSendRequest

Aplica-se a