編輯

共用方式為


SecurityTokenParameters.ReferenceStyle Property

Definition

Gets or sets the token reference style.

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

Property Value

The reference style for the token.

Exceptions

An invalid token reference style was set.

Remarks

The token reference style specifies how to refer to the token in the SOAP message.

This property returns a member of an enumeration that sets the desired referencing style that is used to generate security token references (STR) to the security tokens from the signature and encryption elements in the message.

Applies to