SecurityTokenParameters.ReferenceStyle 属性

定义

获取或设置令牌的引用样式。

public:
 property System::ServiceModel::Security::Tokens::SecurityTokenReferenceStyle ReferenceStyle { System::ServiceModel::Security::Tokens::SecurityTokenReferenceStyle get(); void set(System::ServiceModel::Security::Tokens::SecurityTokenReferenceStyle value); };
public System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle ReferenceStyle { get; set; }
member this.ReferenceStyle : System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle with get, set
Public Property ReferenceStyle As SecurityTokenReferenceStyle

属性值

SecurityTokenReferenceStyle

用于令牌的引用类型。

例外

设置的令牌引用样式无效。set

注解

令牌引用样式指定如何在 SOAP 消息中引用令牌。

此属性返回的枚举成员设置了所需的引用样式,该样式用于在消息中从签名和加密元素生成安全令牌的安全令牌引用 (STR)。

适用于