DsmlSoapHttpConnection.EndSendRequest(IAsyncResult) 方法

定义

完成异步发送请求。

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 派生的包含此请求的状态数据的对象。

返回

DsmlResponseDocument

请求的结果。

例外

asyncResult 上声明的默认值为 null

当前实例没有从对 BeginSendRequest(DsmlRequestDocument, AsyncCallback, Object) 的调用返回 asyncResult

请求未完成。 无可用的流。

服务器返回的响应无效。

以前调用中止或在处理请求时出错。

适用于