WSTrustChannel.GetRequestAction(String, TrustVersion) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得對應指定請求類型及 WS-Trust 版本的 WS-Addressing SOAP 動作。
protected:
static System::String ^ GetRequestAction(System::String ^ requestType, System::ServiceModel::Security::TrustVersion ^ trustVersion);
protected static string GetRequestAction(string requestType, System.ServiceModel.Security.TrustVersion trustVersion);
static member GetRequestAction : string * System.ServiceModel.Security.TrustVersion -> string
Protected Shared Function GetRequestAction (requestType As String, trustVersion As TrustVersion) As String
參數
- requestType
- String
WS-Trust 請求的類型。 這個參數必須是類別中的 RequestTypes 字串常數之一。
- trustVersion
- TrustVersion
請求的那個 TrustVersion 。
傳回
一個包含代表 WS-Addressing 動作的 URI 的字串。