SecurityTokenParameters::ReferenceStyle Property
.NET Framework (current version)
Gets or sets the token reference style.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public: property SecurityTokenReferenceStyle ReferenceStyle { SecurityTokenReferenceStyle get(); void set(SecurityTokenReferenceStyle value); }
Property Value
Type: System.ServiceModel.Security.Tokens::SecurityTokenReferenceStyleThe reference style for the token.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | An invalid token reference style was set. |
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.
.NET Framework
Available since 3.0
Available since 3.0
Show: