Muokkaa

Jaa


SamlAttributeStatement Constructors

Definition

Initializes a new instance of the SamlAttributeStatement class.

Overloads

SamlAttributeStatement()

Initializes a new instance of the SamlAttributeStatement class.

SamlAttributeStatement(SamlSubject, IEnumerable<SamlAttribute>)

Initializes a new instance of the SamlAttributeStatement class using the specified subject and set of attributes associated with the subject.

SamlAttributeStatement()

Initializes a new instance of the SamlAttributeStatement class.

public:
 SamlAttributeStatement();
public SamlAttributeStatement ();
Public Sub New ()

Applies to

SamlAttributeStatement(SamlSubject, IEnumerable<SamlAttribute>)

Initializes a new instance of the SamlAttributeStatement class using the specified subject and set of attributes associated with the subject.

public:
 SamlAttributeStatement(System::IdentityModel::Tokens::SamlSubject ^ samlSubject, System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::SamlAttribute ^> ^ attributes);
public SamlAttributeStatement (System.IdentityModel.Tokens.SamlSubject samlSubject, System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SamlAttribute> attributes);
new System.IdentityModel.Tokens.SamlAttributeStatement : System.IdentityModel.Tokens.SamlSubject * seq<System.IdentityModel.Tokens.SamlAttribute> -> System.IdentityModel.Tokens.SamlAttributeStatement
Public Sub New (samlSubject As SamlSubject, attributes As IEnumerable(Of SamlAttribute))

Parameters

samlSubject
SamlSubject

A SamlSubject that specifies the subject of the claim.

attributes
IEnumerable<SamlAttribute>

An IEnumerable<T> of type SamlAttribute that contains a set of attributes associated with the subject.

Exceptions

samlSubject is null.

attributes contains a member that is null.

-or-

attributes contains zero members.

Remarks

The following table specifies the properties set by the parameters to this constructor.

Property Parameter
Attributes Attributes
SamlSubject samlSubject

Applies to