Saml2AttributeStatement Constructor (Saml2Attribute)

.NET Framework (current version)
 
System_CAPS_noteNote

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

Initializes a new instance of the Saml2AttributeStatement class.

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

public Saml2AttributeStatement(
	Saml2Attribute attribute
)

Parameters

attribute
Type: System.IdentityModel.Tokens.Saml2Attribute

A Saml2Attribute that represents a single Attribute element contained in this statement.

Exception Condition
ArgumentNullException

attribute is null.

The Attributes property (collection) is initialized with the specified attribute.

.NET Framework
Available since 4.5
Return to top
Show: