共用方式為


WSTrustServiceContract.ProcessCore 方法

定義

處理對 STS 的同步呼叫。

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

參數

requestMessage
Message

傳入要求訊息。

requestSerializer
WSTrustRequestSerializer

WS-Trust 要求序列化程式。

responseSerializer
WSTrustResponseSerializer

WS-Trust 回應序列化程式。

requestAction
String

要求 SOAP 動作。

responseAction
String

回應 SOAP 動作。

trustNamespace
String

傳入要求 WS-Trust 版本的命名空間 URI。

傳回

包含序列化 RSTR 訊息的 Message 物件。

例外狀況

其中一個引數是 null

適用於