Export (0) Print
Expand All

Saml2AuthenticationContext.DeclarationReference Property

.NET Framework 4.6 and 4.5

Gets or sets a URI reference that identifies an authentication context declaration. [Saml2Core, 2.7.2.2]

Namespace:  System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public Uri DeclarationReference { get; set; }

Property Value

Type: System.Uri
A Uri that identifies an authentication context declaration.

ExceptionCondition
ArgumentException

An attempt to set a value that is not null and is not an absolute URI occurs.

The AuthnContextDeclRef element. By-value declarations are not supported in the base implementation. See Remarks in the Saml2AuthenticationContext class topic for more information.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft