Saml2Action.Namespace Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the URI reference that represents the XML namespace in which the name of the specified action is to be interpreted.

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

public Uri Namespace { get; set; }

Property Value

Type: System.Uri

The Uri that represents the namespace.

Exception Condition

An attempt to set the property to null occurs.


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

The Namespace attribute of the <saml:Action> element. This attribute is required.

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 (

.NET Framework
Available since 4.5
Return to top