LdapConnection.GetPartialResults(IAsyncResult) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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.