Saml2AttributeStatement Constructor (IEnumerable<Saml2Attribute>)

.NET Framework (current version)
 

Initializes a new instance of the Saml2AttributeStatement class.

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

public Saml2AttributeStatement(
	IEnumerable<Saml2Attribute> attributes
)

Parameters

attributes
Type: System.Collections.Generic.IEnumerable<Saml2Attribute>

A collection of type Saml2Attribute that contains the Attribute elements contained in this statement.

Exception Condition
ArgumentNullException

attributes is null.

-or-

One of the elements of the collection specified by attributes is null.

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

.NET Framework
Available since 4.5
Return to top
Show: