Udostępnij przez


AuthenticationFailureException Konstruktory

Definicja

Przeciążenia

AuthenticationFailureException(String)

Tworzy nowe wystąpienie z AuthenticationFailureException określonym wyjątkiem message.

AuthenticationFailureException(String, Exception)

Tworzy nowe wystąpienie z AuthenticationFailureException określonym wyjątkiem message i odwołaniem do wyjątku wewnętrznego, który jest przyczyną tego wyjątku.

AuthenticationFailureException(String)

Tworzy nowe wystąpienie z AuthenticationFailureException określonym wyjątkiem message.

public AuthenticationFailureException (string? message);
new Microsoft.AspNetCore.Authentication.AuthenticationFailureException : string -> Microsoft.AspNetCore.Authentication.AuthenticationFailureException
Public Sub New (message As String)

Parametry

message
String

Komunikat z opisem błędu.

Dotyczy

AuthenticationFailureException(String, Exception)

Tworzy nowe wystąpienie z AuthenticationFailureException określonym wyjątkiem message i odwołaniem do wyjątku wewnętrznego, który jest przyczyną tego wyjątku.

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)

Parametry

message
String

Komunikat z opisem błędu.

innerException
Exception

Wyjątek, który jest przyczyną bieżącego wyjątku lub null.

Dotyczy