LdapConnection.EndSendRequest(IAsyncResult) Methode

Definitie

De EndSendRequest(IAsyncResult) methode voltooit een asynchrone aanvraag.

public:
 System::DirectoryServices::Protocols::DirectoryResponse ^ EndSendRequest(IAsyncResult ^ asyncResult);
public System.DirectoryServices.Protocols.DirectoryResponse EndSendRequest(IAsyncResult asyncResult);
member this.EndSendRequest : IAsyncResult -> System.DirectoryServices.Protocols.DirectoryResponse
Public Function EndSendRequest (asyncResult As IAsyncResult) As DirectoryResponse

Parameters

asyncResult
IAsyncResult

Een IAsyncResult object met statusgegevens voor deze aanvraag.

Retouren

Een DirectoryResponse object dat de resultaten van de aanvraag bevat.

Uitzonderingen

Het object is al verwijderd. De objectgreep is ongeldig.

asyncResult is null (Nothing in Visual Basic).

asyncResult komt niet overeen met de asyncResult geretourneerde in de BeginSendRequest aanroep.

De foutcode die door LDAP wordt geretourneerd, wordt niet toegewezen aan een ResultCode opsommingsfoutcode.

De server heeft een DirectoryResponse object geretourneerd met een fout.

Van toepassing op