Saml2AttributeStatement Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the Saml2AttributeStatement class.
Overloads
Saml2AttributeStatement() |
Initializes a new instance of the Saml2AttributeStatement class with no attributes. |
Saml2AttributeStatement(IEnumerable<Saml2Attribute>) |
Initializes a new instance of the Saml2AttributeStatement class. |
Saml2AttributeStatement(Saml2Attribute) |
Initializes a new instance of the Saml2AttributeStatement class. |
Saml2AttributeStatement()
Initializes a new instance of the Saml2AttributeStatement class with no attributes.
public:
Saml2AttributeStatement();
public Saml2AttributeStatement ();
Public Sub New ()
Remarks
The Attributes property is initialized to an empty collection.
Applies to
Saml2AttributeStatement(IEnumerable<Saml2Attribute>)
Initializes a new instance of the Saml2AttributeStatement class.
public:
Saml2AttributeStatement(System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::Saml2Attribute ^> ^ attributes);
public Saml2AttributeStatement (System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.Saml2Attribute> attributes);
new System.IdentityModel.Tokens.Saml2AttributeStatement : seq<System.IdentityModel.Tokens.Saml2Attribute> -> System.IdentityModel.Tokens.Saml2AttributeStatement
Public Sub New (attributes As IEnumerable(Of Saml2Attribute))
Parameters
- attributes
- IEnumerable<Saml2Attribute>
A collection of type Saml2Attribute that contains the Attribute elements contained in this statement.
Exceptions
attributes
is null
.
-or-
One of the elements of the collection specified by attributes
is null
.
Remarks
The Attributes property (collection) is initialized with the attributes in the specified collection.
Applies to
Saml2AttributeStatement(Saml2Attribute)
Initializes a new instance of the Saml2AttributeStatement class.
public:
Saml2AttributeStatement(System::IdentityModel::Tokens::Saml2Attribute ^ attribute);
public Saml2AttributeStatement (System.IdentityModel.Tokens.Saml2Attribute attribute);
new System.IdentityModel.Tokens.Saml2AttributeStatement : System.IdentityModel.Tokens.Saml2Attribute -> System.IdentityModel.Tokens.Saml2AttributeStatement
Public Sub New (attribute As Saml2Attribute)
Parameters
- attribute
- Saml2Attribute
A Saml2Attribute that represents a single Attribute element contained in this statement.
Exceptions
attribute
is null
.
Remarks
The Attributes property (collection) is initialized with the specified attribute.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για