Redigera

Dela via


LdapConnection.GetPartialResults(IAsyncResult) Method

Definition

The GetPartialResults(IAsyncResult) method retrieves partial results of an asynchronous operation.

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

Parameters

asyncResult
IAsyncResult

An IAsyncResult object that contains state data for this request.

Returns

A PartialResultsCollection object that contains the partial results.

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.

Applies to