LdapConnection.EndSendRequest(IAsyncResult) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.