Share via


Saml2NameIdentifier Constructors

Definition

Overloads

Saml2NameIdentifier(String)

Initializes an instance of Saml2NameIdentifier from a name.

Saml2NameIdentifier(String, Uri)

Initializes an instance of Saml2NameIdentifier from a name and format.

Saml2NameIdentifier(String)

Initializes an instance of Saml2NameIdentifier from a name.

public Saml2NameIdentifier (string name);
new Microsoft.IdentityModel.Tokens.Saml2.Saml2NameIdentifier : string -> Microsoft.IdentityModel.Tokens.Saml2.Saml2NameIdentifier
Public Sub New (name As String)

Parameters

name
String

Name string to initialize with.

Applies to

Saml2NameIdentifier(String, Uri)

Initializes an instance of Saml2NameIdentifier from a name and format.

public Saml2NameIdentifier (string name, Uri format);
new Microsoft.IdentityModel.Tokens.Saml2.Saml2NameIdentifier : string * Uri -> Microsoft.IdentityModel.Tokens.Saml2.Saml2NameIdentifier
Public Sub New (name As String, format As Uri)

Parameters

name
String

Name string to initialize with.

format
Uri

Uri specifying the identifier format.

Exceptions

if name is null of empty.

if format is not an absolute Uri.

Applies to