LdapConnection.BeginSendRequest Methode

Definition

Sendet Daten asynchron an den Server.

Überlädt

BeginSendRequest(DirectoryRequest, PartialResultProcessing, AsyncCallback, Object)

Quelle:
LdapConnection.cs
Quelle:
LdapConnection.cs
Quelle:
LdapConnection.cs
Quelle:
LdapConnection.cs

Sendet Daten asynchron an den Server.

public:
 IAsyncResult ^ BeginSendRequest(System::DirectoryServices::Protocols::DirectoryRequest ^ request, System::DirectoryServices::Protocols::PartialResultProcessing partialMode, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginSendRequest(System.DirectoryServices.Protocols.DirectoryRequest request, System.DirectoryServices.Protocols.PartialResultProcessing partialMode, AsyncCallback callback, object state);
member this.BeginSendRequest : System.DirectoryServices.Protocols.DirectoryRequest * System.DirectoryServices.Protocols.PartialResultProcessing * AsyncCallback * obj -> IAsyncResult
Public Function BeginSendRequest (request As DirectoryRequest, partialMode As PartialResultProcessing, callback As AsyncCallback, state As Object) As IAsyncResult

Parameter

request
DirectoryRequest

Ein DirectoryRequest-Objekt.

partialMode
PartialResultProcessing

Ein Wert aus PartialResultProcessing der Aufzählung, der die Ebene des zurückzugebenden Teilergebnisses angibt.

callback
AsyncCallback

Die AsyncCallback Funktion.

state
Object

Eine Object , die die Statusdaten für diese Anforderung enthält.

Gibt zurück

Ein IAsyncResult Objekt, das auf das asynchrone Senden verweist.

Ausnahmen

Das Objekthandle ist ungültig.

request ist null (Nothing in Visual Basic).

Partielle Ergebnisse werden nicht unterstützt.

Eine Rückruffunktion muss angegeben werden, wenn partialMode sie gleich ReturnPartialResultsAndNotifyCallbackist.

Gilt für:

BeginSendRequest(DirectoryRequest, TimeSpan, PartialResultProcessing, AsyncCallback, Object)

Quelle:
LdapConnection.cs
Quelle:
LdapConnection.cs
Quelle:
LdapConnection.cs
Quelle:
LdapConnection.cs

Sendet Daten asynchron an den Server.

public:
 IAsyncResult ^ BeginSendRequest(System::DirectoryServices::Protocols::DirectoryRequest ^ request, TimeSpan requestTimeout, System::DirectoryServices::Protocols::PartialResultProcessing partialMode, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginSendRequest(System.DirectoryServices.Protocols.DirectoryRequest request, TimeSpan requestTimeout, System.DirectoryServices.Protocols.PartialResultProcessing partialMode, AsyncCallback callback, object state);
member this.BeginSendRequest : System.DirectoryServices.Protocols.DirectoryRequest * TimeSpan * System.DirectoryServices.Protocols.PartialResultProcessing * AsyncCallback * obj -> IAsyncResult
Public Function BeginSendRequest (request As DirectoryRequest, requestTimeout As TimeSpan, partialMode As PartialResultProcessing, callback As AsyncCallback, state As Object) As IAsyncResult

Parameter

request
DirectoryRequest

Ein DirectoryRequest-Objekt.

requestTimeout
TimeSpan

Die Zeit in Sekunden bis zum Timeout der Anforderung.

partialMode
PartialResultProcessing

Ein Wert aus PartialResultProcessing der Aufzählung, der die Ebene des zurückzugebenden Teilergebnisses angibt.

callback
AsyncCallback

Die AsyncCallback Funktion.

state
Object

Eine Object , die die Statusdaten für diese Anforderung enthält.

Gibt zurück

Ein IAsyncResult Objekt, das auf das asynchrone Senden verweist.

Ausnahmen

Das Objekthandle ist ungültig.

request ist null (Nothing in Visual Basic).

Partielle Ergebnisse werden nicht unterstützt.

Eine Rückruffunktion muss angegeben werden, wenn partialMode sie gleich ReturnPartialResultsAndNotifyCallbackist.

Gilt für: