Udostępnij za pośrednictwem


Saml2Attribute Constructors

Definition

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