Compartilhar via


WSTrustServiceContract.CreateDispatchContext Método

Definição

Cria um objeto DispatchContext para ser usado pelo 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

A mensagem de solicitação de entrada.

requestAction
String

A ação SOAP da solicitação.

responseAction
String

A ação SOAP padrão da resposta.

trustNamespace
String

URI de namespace da versão do WS-Trust da solicitação de entrada.

requestSerializer
WSTrustRequestSerializer

O WSTrustRequestSerializer usado para desserializar mensagens RST de entrada.

responseSerializer
WSTrustResponseSerializer

O WSTrustResponseSerializer usado para desserializar mensagens RSTR de entrada.

serializationContext
WSTrustSerializationContext

O WSTrustSerializationContext a ser usado ao desserializar mensagens de entrada.

Retornos

DispatchContext

Um objeto DispatchContext.

Aplica-se a