LdapConnection.GetPartialResults(IAsyncResult) Metod

Definition

Metoden GetPartialResults(IAsyncResult) hämtar partiella resultat av en asynkron åtgärd.

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

Parametrar

asyncResult
IAsyncResult

Ett IAsyncResult objekt som innehåller tillståndsdata för den här begäran.

Returer

Ett PartialResultsCollection objekt som innehåller de partiella resultaten.

Undantag

Objektet har redan tagits bort. Objekthandtaget är inte giltigt.

asyncResult är null (Nothing i Visual Basic).

asyncResult matchar inte den asyncResult returnerade i anropet BeginSendRequest .

Felkoden som returneras av LDAP mappas inte till en ResultCode uppräkningsfelkod.

Servern returnerade ett DirectoryResponse objekt med ett fel.

Gäller för