SecurityTokenParameters.ReferenceStyle Property


Gets or sets the token reference style.

Namespace:   System.ServiceModel.Security.Tokens
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public SecurityTokenReferenceStyle ReferenceStyle { get; set; }

Property Value

Type: System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle

The reference style for the token.

Exception Condition

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
Return to top