次の方法で共有


WSTrustServiceContract.CreateDispatchContext メソッド

定義

DispatchRequest(DispatchContext) メソッドで使用する 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

パラメーター

requestMessage
Message

受信要求メッセージ。

requestAction
String

要求の SOAP アクション。

responseAction
String

応答の既定 SOAP アクション。

trustNamespace
String

受信要求の WS-Trust バージョンの名前空間 URI。

requestSerializer
WSTrustRequestSerializer

受信 RST メッセージを逆シリアル化するために使用する WSTrustRequestSerializer

responseSerializer
WSTrustResponseSerializer

受信 RSTR メッセージを逆シリアル化するために使用する WSTrustResponseSerializer

serializationContext
WSTrustSerializationContext

受信メッセージを逆シリアル化するときに使用する WSTrustSerializationContext

戻り値

DispatchContext オブジェクト。

適用対象