Partager via


WSTrustServiceContract.CreateDispatchContext Méthode

Définition

Crée un objet DispatchContext en vue de son utilisation par la méthode DispatchRequest(DispatchContext).

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

Paramètres

requestMessage
Message

Message de requête entrant.

requestAction
String

L’action SOAP de la requête.

responseAction
String

Action SOAP par défaut de la réponse.

trustNamespace
String

URI d’espace de noms de la version WS-Trust de la requête entrante.

requestSerializer
WSTrustRequestSerializer

WSTrustRequestSerializer utilisé pour désérialiser les messages RST entrants.

responseSerializer
WSTrustResponseSerializer

WSTrustResponseSerializer utilisé pour désérialiser les messages RSTR entrants.

serializationContext
WSTrustSerializationContext

WSTrustSerializationContext à utiliser lors de la désérialisation des messages entrants.

Retours

DispatchContext

Objet DispatchContext.

S’applique à