Saml2AuthenticationContext 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 Saml2AuthenticationContext class.
Overloads
Saml2AuthenticationContext() |
Initializes a new instance of the Saml2AuthenticationContext class. |
Saml2AuthenticationContext(Uri) |
Initializes a new instance of the Saml2AuthenticationContext class with the specified class reference. |
Saml2AuthenticationContext(Uri, Uri) |
Initializes a new instance of the Saml2AuthenticationContext class with the specified class reference and declaration reference. |
Saml2AuthenticationContext()
Initializes a new instance of the Saml2AuthenticationContext class.
public:
Saml2AuthenticationContext();
public Saml2AuthenticationContext ();
Public Sub New ()
Remarks
The ClassReference and DeclarationReference properties are set to null
in the new Saml2AuthenticationContext instance.
Applies to
Saml2AuthenticationContext(Uri)
Initializes a new instance of the Saml2AuthenticationContext class with the specified class reference.
public:
Saml2AuthenticationContext(Uri ^ classReference);
public Saml2AuthenticationContext (Uri classReference);
new System.IdentityModel.Tokens.Saml2AuthenticationContext : Uri -> System.IdentityModel.Tokens.Saml2AuthenticationContext
Public Sub New (classReference As Uri)
Parameters
- classReference
- Uri
The class reference of the authentication context.
Exceptions
classReference
is not null
and is not an absolute URI.
Remarks
The DeclarationReference property is set to null
in the new Saml2AuthenticationContext instance.
Applies to
Saml2AuthenticationContext(Uri, Uri)
Initializes a new instance of the Saml2AuthenticationContext class with the specified class reference and declaration reference.
public:
Saml2AuthenticationContext(Uri ^ classReference, Uri ^ declarationReference);
public Saml2AuthenticationContext (Uri classReference, Uri declarationReference);
new System.IdentityModel.Tokens.Saml2AuthenticationContext : Uri * Uri -> System.IdentityModel.Tokens.Saml2AuthenticationContext
Public Sub New (classReference As Uri, declarationReference As Uri)
Parameters
- classReference
- Uri
The class reference of the authentication context.
- declarationReference
- Uri
The declaration reference of the authentication context.
Exceptions
classReference
is not null
and is not an absolute URI.
-or-
declarationReference
is not null
and is not an absolute URI.