Saml2Id 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 Saml2Id class.
Overloads
Saml2Id() |
Initializes a new instance of the Saml2Id class with a system-generated value. |
Saml2Id(String) |
Initializes a new instance of the Saml2Id class with the specified value. |
Saml2Id()
Saml2Id(String)
Initializes a new instance of the Saml2Id class with the specified value.
public:
Saml2Id(System::String ^ value);
public Saml2Id (string value);
new System.IdentityModel.Tokens.Saml2Id : string -> System.IdentityModel.Tokens.Saml2Id
Public Sub New (value As String)
Parameters
- value
- String
The ID value.
Exceptions
value
is not a valid NCName.
value
is null
or an empty string.
Remarks
The identifier should be unique per [Saml2Core, 1.3.4] and must fit the NCName xml schema definition, that is, it must begin with a letter or underscore.