Compartir a través de


WSTrustServiceContract.CreateDispatchContext Método

Definición

Crea un objeto DispatchContext para su uso por parte del método 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

Parámetros

requestMessage
Message

El mensaje de solicitud entrante.

requestAction
String

Acción SOAP de la solicitud.

responseAction
String

Acción SOAP predeterminada de la respuesta.

trustNamespace
String

Espacio de nombres URI de la versión de WS-Trust de la solicitud entrante.

requestSerializer
WSTrustRequestSerializer

WSTrustRequestSerializer usado para deserializar los mensajes de RST entrantes.

responseSerializer
WSTrustResponseSerializer

WSTrustResponseSerializer usado para deserializar los mensajes de RSTR entrantes.

serializationContext
WSTrustSerializationContext

WSTrustSerializationContext que hay que usar al deserializar los mensajes entrantes.

Devoluciones

DispatchContext

Un objeto DispatchContext.

Se aplica a