Saml2Attribute 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.
Overloads
Saml2Attribute(String) |
Initializes a new instance of the Saml2Attribute class. |
Saml2Attribute(String, IEnumerable<String>) |
Initializes a new instance of the Saml2Attribute class. |
Saml2Attribute(String, String) |
Initializes a new instance of the Saml2Attribute class. |
Saml2Attribute(String)
Initializes a new instance of the Saml2Attribute class.
public Saml2Attribute (string name);
new Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute : string -> Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute
Public Sub New (name As String)
Parameters
- name
- String
The name of the attribute.
Exceptions
if name
is Null or Empty.
Applies to
Saml2Attribute(String, IEnumerable<String>)
Initializes a new instance of the Saml2Attribute class.
public Saml2Attribute (string name, System.Collections.Generic.IEnumerable<string> values);
new Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute : string * seq<string> -> Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute
Public Sub New (name As String, values As IEnumerable(Of String))
Parameters
- name
- String
The name of the attribute.
- values
- IEnumerable<String>
The collection of values that define the attribute.
Exceptions
if name
is Null or Empty.
Applies to
Saml2Attribute(String, String)
Initializes a new instance of the Saml2Attribute class.
public Saml2Attribute (string name, string value);
new Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute : string * string -> Microsoft.IdentityModel.Tokens.Saml2.Saml2Attribute
Public Sub New (name As String, value As String)
Parameters
- name
- String
The name of the attribute.
- value
- String
The value of the attribute.
Exceptions
if name
is Null or Empty.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für