Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SecurityTokenParameters::ReferenceStyle Property

 

Gets or sets the token reference style.

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

public:
property SecurityTokenReferenceStyle ReferenceStyle {
	SecurityTokenReferenceStyle get();
	void set(SecurityTokenReferenceStyle value);
}

Property Value

Type: System.ServiceModel.Security.Tokens::SecurityTokenReferenceStyle

The 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
Return to top
Show:
© 2017 Microsoft