AuthenticationFailureException 建構函式

定義

多載

AuthenticationFailureException(String)

使用指定的例外 message 狀況,建立 的新實例 AuthenticationFailureException

AuthenticationFailureException(String, Exception)

使用指定的例外狀況,以及造成此例外 message 狀況之內部例外狀況的參考,建立 的新實例 AuthenticationFailureException

AuthenticationFailureException(String)

來源:
AuthenticationFailureException.cs

使用指定的例外 message 狀況,建立 的新實例 AuthenticationFailureException

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

參數

message
String

描述錯誤的訊息。

適用於

AuthenticationFailureException(String, Exception)

來源:
AuthenticationFailureException.cs

使用指定的例外狀況,以及造成此例外 message 狀況之內部例外狀況的參考,建立 的新實例 AuthenticationFailureException

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)

參數

message
String

描述錯誤的訊息。

innerException
Exception

造成目前例外狀況的例外狀況,或 null

適用於