Resource Property
Collapse the table of content
Expand the table of content

Saml2AuthorizationDecisionStatement.Resource Property

.NET Framework (current version)
 

Gets or sets the URI reference that identifies the resource to which access authorization is sought.

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

public Uri Resource { get; set; }

Property Value

Type: System.Uri

A Uri that identifies the resource.

Exception Condition
ArgumentNullException

An attempt to set a value that is null occurs.

ArgumentException

An attempt to set a value that is not an absolute URI or is not an empty relative URI occurs.

Corresponds to the Resource attribute

For more information about the element that this class represents, see the following specification: Assertions and Protocols for the OASIS Security Assertion Markup Language (SAML) V2.0 (http://go.microsoft.com/fwlink/?LinkID=215998).

.

The Resource property may be set to an absolute URI or to the empty URI reference (EmptyResource). When it is set to the empty URI reference, the meaning is defined to be the start of the current document.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft