WSTrustChannel.GetRequestAction(String, TrustVersion) 方法

定义

获取对应于指定的请求类型和 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。

适用于