Share via


WSTrustServiceContract.BeginDispatchRequest Methode

Definition

Beginnt einen asynchronen Aufruf an DispatchRequest(DispatchContext).

protected:
 virtual IAsyncResult ^ BeginDispatchRequest(System::ServiceModel::Security::DispatchContext ^ dispatchContext, AsyncCallback ^ asyncCallback, System::Object ^ asyncState);
protected virtual IAsyncResult BeginDispatchRequest (System.ServiceModel.Security.DispatchContext dispatchContext, AsyncCallback asyncCallback, object asyncState);
abstract member BeginDispatchRequest : System.ServiceModel.Security.DispatchContext * AsyncCallback * obj -> IAsyncResult
override this.BeginDispatchRequest : System.ServiceModel.Security.DispatchContext * AsyncCallback * obj -> IAsyncResult
Protected Overridable Function BeginDispatchRequest (dispatchContext As DispatchContext, asyncCallback As AsyncCallback, asyncState As Object) As IAsyncResult

Parameter

dispatchContext
DispatchContext

Definiert die zu verarbeitenden Anforderungsparameter und macht Eigenschaften verfügbar, die die Antwortnachricht und Aktion bestimmen.

asyncCallback
AsyncCallback

Ein optionaler asynchroner Rückruf, der nach Abschluss der Verteilung aufgerufen wird.

asyncState
Object

Ein vom Benutzer bereitgestelltes Objekt, das diese asynchrone Verteilungsanforderung von anderen Anforderungen unterscheidet.

Gibt zurück

IAsyncResult

Ein IAsyncResult-Element, das den asynchronen Vorgang darstellt. Dient als Eingabe für die EndDispatchRequest(IAsyncResult)-Methode.

Gilt für