Freigeben über


WSTrustServiceContract.CreateDispatchContext Methode

Definition

Erstellt ein DispatchContext-Objekt für die Verwendung durch die DispatchRequest(DispatchContext)-Methode.

protected:
 virtual System::ServiceModel::Security::DispatchContext ^ CreateDispatchContext(System::ServiceModel::Channels::Message ^ requestMessage, System::String ^ requestAction, System::String ^ responseAction, System::String ^ trustNamespace, System::IdentityModel::Protocols::WSTrust::WSTrustRequestSerializer ^ requestSerializer, System::IdentityModel::Protocols::WSTrust::WSTrustResponseSerializer ^ responseSerializer, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ serializationContext);
protected virtual System.ServiceModel.Security.DispatchContext CreateDispatchContext (System.ServiceModel.Channels.Message requestMessage, string requestAction, string responseAction, string trustNamespace, System.IdentityModel.Protocols.WSTrust.WSTrustRequestSerializer requestSerializer, System.IdentityModel.Protocols.WSTrust.WSTrustResponseSerializer responseSerializer, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext serializationContext);
abstract member CreateDispatchContext : System.ServiceModel.Channels.Message * string * string * string * System.IdentityModel.Protocols.WSTrust.WSTrustRequestSerializer * System.IdentityModel.Protocols.WSTrust.WSTrustResponseSerializer * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> System.ServiceModel.Security.DispatchContext
override this.CreateDispatchContext : System.ServiceModel.Channels.Message * string * string * string * System.IdentityModel.Protocols.WSTrust.WSTrustRequestSerializer * System.IdentityModel.Protocols.WSTrust.WSTrustResponseSerializer * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> System.ServiceModel.Security.DispatchContext
Protected Overridable Function CreateDispatchContext (requestMessage As Message, requestAction As String, responseAction As String, trustNamespace As String, requestSerializer As WSTrustRequestSerializer, responseSerializer As WSTrustResponseSerializer, serializationContext As WSTrustSerializationContext) As DispatchContext

Parameter

requestMessage
Message

Die eingehende Anforderungsnachricht.

requestAction
String

Die SOAP-Aktion der Anforderung.

responseAction
String

Die Standard-SOAP-Aktion der Antwort.

trustNamespace
String

Der Namespace-URI der WS-Trust-Version der eingehenden Anforderung.

requestSerializer
WSTrustRequestSerializer

Das zum Deserialisieren eingehender RST-Nachrichten verwendete WSTrustRequestSerializer.

responseSerializer
WSTrustResponseSerializer

Das zum Deserialisieren eingehender RSTR-Nachrichten verwendete WSTrustResponseSerializer.

serializationContext
WSTrustSerializationContext

Das zum Deserialisieren eingehender Nachrichten zu verwendende WSTrustSerializationContext.

Gibt zurück

Ein DispatchContext-Objekt.

Gilt für: