LdapConnection.Abort(IAsyncResult) Metod

Definition

Metoden Abort(IAsyncResult) avbryter den asynkrona begäran.

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

Parametrar

asyncResult
IAsyncResult

Ett IAsyncResult objekt som refererar till den asynkrona begäran.

Undantag

Objekthandtaget är inte giltigt.

asyncResult är null (Nothing i Visual Basic).

asyncResult returnerades inte av motsvarande anrop till BeginSendRequest

Gäller för