DsmlSoapHttpConnection.EndSendRequest(IAsyncResult) Methode

Definition

Schließt eine asynchrone Sendeanforderung ab.

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

Parameter

asyncResult
IAsyncResult

Ein aus IAsyncResult abgeleitetes Objekt, das die Zustandsinformationen für diese Anforderung enthält.

Gibt zurück

Die Ergebnisse der Anforderung.

Ausnahmen

asyncResult ist null

asyncResult wurde von der aktuellen Instanz bei einem Aufruf von BeginSendRequest(DsmlRequestDocument, AsyncCallback, Object) nicht zurückgegeben.

Die Anforderung wurde nicht abgeschlossen. Kein Stream verfügbar.

Die vom Server zurückgegebene Antwort ist ungültig.

Der Abbruch wurde zuvor aufgerufen, oder beim Verarbeiten der Anforderung ist ein Fehler aufgetreten.

Gilt für: