LdapConnection.EndSendRequest(IAsyncResult) Método
Definição
O método EndSendRequest(IAsyncResult) conclui uma solicitação assíncrona.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
Parâmetros
- asyncResult
- IAsyncResult
Um objeto IAsyncResult que contém dados de estado para esta solicitação.An IAsyncResult object that contains state data for this request.
Retornos
Um objeto DirectoryResponse que contém os resultados da solicitação.A DirectoryResponse object that contains the results of the request.
Exceções
Gerado se o objeto já tiver sido descartado.Thrown if the object is already disposed. 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 combina com o asyncResult retornado na chamada BeginSendRequest.asyncResult does not match the asyncResult returned in the BeginSendRequest call.
O código de erro retornado pelo LDAP não é mapeado para um código de erro de enumeração ResultCode.The error code returned by LDAP does not map to a ResultCode enumeration error code.
Gerado se o servidor retornou um objeto DirectoryResponse com um erro.Thrown if the server returned a DirectoryResponse object with an error.