AuthenticationException Constructor
AuthenticationException()
Initializes a new instance of the AuthenticationException class.
Declaration
public AuthenticationException()
AuthenticationException(string)
Initializes a new instance of the AuthenticationException class with a specified error message.
Declaration
public AuthenticationException(string message)
Parameters
string | message | The message that describes the error. |
AuthenticationException(Exception)
Initializes a new instance of the AuthenticationException class with a reference to the inner exception that is the cause of this exception.
Declaration
public AuthenticationException(Exception innerException)
Parameters
Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |
AuthenticationException(string, Exception)
Initializes a new instance of the AuthenticationException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public AuthenticationException(string message, Exception innerException)
Parameters
string | message | The message that describes the error. |
Exception | innerException | The exception that is the cause of the current exception, or a null reference if no inner exception is specified. |