AuthenticationFailureException 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
AuthenticationFailureException(String) |
Creates a new instance of AuthenticationFailureException
with the specified exception |
AuthenticationFailureException(String, Exception) |
Creates a new instance of AuthenticationFailureException
with the specified exception |
AuthenticationFailureException(String)
Creates a new instance of AuthenticationFailureException
with the specified exception message
.
public AuthenticationFailureException (string? message);
new Microsoft.AspNetCore.Authentication.AuthenticationFailureException : string -> Microsoft.AspNetCore.Authentication.AuthenticationFailureException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
AuthenticationFailureException(String, Exception)
Creates a new instance of AuthenticationFailureException
with the specified exception message
and
a reference to the inner exception that is the cause of this exception.
public AuthenticationFailureException (string? message, Exception? innerException);
new Microsoft.AspNetCore.Authentication.AuthenticationFailureException : string * Exception -> Microsoft.AspNetCore.Authentication.AuthenticationFailureException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The message that describes the error.
- innerException
- Exception
The exception that is the cause of the current exception, or null
.