Saml2NameIdentifier 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
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.
Exceptions
if name
is null of empty.
if format
is not an absolute Uri.