LdapConnection.GetPartialResults(IAsyncResult) 方法

定义

GetPartialResults(IAsyncResult) 方法检索异步操作的部分结果。

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

参数

asyncResult
IAsyncResult

包含 IAsyncResult 此请求的状态数据的对象。

返回

PartialResultsCollection包含部分结果的对象。

例外

对象已释放。 对象句柄无效。

asyncResult 为 null(Nothing 在 Visual Basic 中)。

asyncResult与调用中返回的asyncResultBeginSendRequest不匹配。

LDAP 返回的错误代码不会映射到 ResultCode 枚举错误代码。

服务器返回了一个 DirectoryResponse 出错的对象。

适用于