SamlAttributeStatement 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 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
.
Remarks
The following table specifies the properties set by the parameters to this constructor.
Property | Parameter |
---|---|
Attributes | Attributes |
SamlSubject | samlSubject |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om