DsmlSoapHttpConnection.EndSendRequest(IAsyncResult) 方法

定义

EndSendRequest(IAsyncResult) 方法将完成异步发送请求。The EndSendRequest(IAsyncResult) method completes an asynchronous send request.

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

参数

asyncResult
IAsyncResult

IAsyncResult 派生的包含此请求的状态数据的对象。An object derived from IAsyncResult that contains state data for this request.

返回

DsmlResponseDocument

一个 DsmlResponseDocument 对象,它包含该请求的结果。A DsmlResponseDocument object that contains the results of the request.

例外

asyncResultnull 时,将引发此异常。Thrown when asyncResult is null.

如果当前实例没有从 BeginSendRequest(DsmlRequestDocument, AsyncCallback, Object) 调用返回 asyncResult,则引发该异常。Thrown if asyncResult was not returned by the current instance from a call to BeginSendRequest(DsmlRequestDocument, AsyncCallback, Object).

请求未完成。The request did not complete. 无可用的流。No stream is available.

如果服务器返回的响应无效,则引发该异常。Thrown when the response returned by server is not valid.

如果以前调用过中止操作或在处理请求时出错,则引发该异常。Thrown when abort was previously called or when an error occurred while processing the request.

适用于