Editar

Partilhar via


LdapConnection.EndSendRequest(IAsyncResult) Method

Definition

The EndSendRequest(IAsyncResult) method completes an asynchronous request.

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

An IAsyncResult object that contains state data for this request.

Returns

A DirectoryResponse object that contains the results of the request.

Exceptions

The object is already disposed. The object handle is not valid.

asyncResult is null (Nothing in Visual Basic).

asyncResult does not match the asyncResult returned in the BeginSendRequest call.

The error code returned by LDAP does not map to a ResultCode enumeration error code.

The server returned a DirectoryResponse object with an error.

Applies to