Bagikan melalui


AuthenticateResult.Fail Metode

Definisi

Overload

Fail(Exception)

Menunjukkan bahwa ada kegagalan selama autentikasi.

Fail(String)

Menunjukkan bahwa ada kegagalan selama autentikasi.

Fail(Exception, AuthenticationProperties)

Menunjukkan bahwa ada kegagalan selama autentikasi.

Fail(String, AuthenticationProperties)

Menunjukkan bahwa ada kegagalan selama autentikasi.

Fail(Exception)

Sumber:
AuthenticateResult.cs
Sumber:
AuthenticateResult.cs
Sumber:
AuthenticateResult.cs

Menunjukkan bahwa ada kegagalan selama autentikasi.

public:
 static Microsoft::AspNetCore::Authentication::AuthenticateResult ^ Fail(Exception ^ failure);
public static Microsoft.AspNetCore.Authentication.AuthenticateResult Fail (Exception failure);
static member Fail : Exception -> Microsoft.AspNetCore.Authentication.AuthenticateResult
Public Shared Function Fail (failure As Exception) As AuthenticateResult

Parameter

failure
Exception

Pengecualian kegagalan.

Mengembalikan

Hasilnya.

Berlaku untuk

Fail(String)

Sumber:
AuthenticateResult.cs
Sumber:
AuthenticateResult.cs
Sumber:
AuthenticateResult.cs

Menunjukkan bahwa ada kegagalan selama autentikasi.

public:
 static Microsoft::AspNetCore::Authentication::AuthenticateResult ^ Fail(System::String ^ failureMessage);
public static Microsoft.AspNetCore.Authentication.AuthenticateResult Fail (string failureMessage);
static member Fail : string -> Microsoft.AspNetCore.Authentication.AuthenticateResult
Public Shared Function Fail (failureMessage As String) As AuthenticateResult

Parameter

failureMessage
String

Pesan kegagalan.

Mengembalikan

Hasilnya.

Berlaku untuk

Fail(Exception, AuthenticationProperties)

Sumber:
AuthenticateResult.cs
Sumber:
AuthenticateResult.cs
Sumber:
AuthenticateResult.cs

Menunjukkan bahwa ada kegagalan selama autentikasi.

public:
 static Microsoft::AspNetCore::Authentication::AuthenticateResult ^ Fail(Exception ^ failure, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public static Microsoft.AspNetCore.Authentication.AuthenticateResult Fail (Exception failure, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public static Microsoft.AspNetCore.Authentication.AuthenticateResult Fail (Exception failure, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
static member Fail : Exception * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Authentication.AuthenticateResult
Public Shared Function Fail (failure As Exception, properties As AuthenticationProperties) As AuthenticateResult

Parameter

failure
Exception

Pengecualian kegagalan.

properties
AuthenticationProperties

Nilai status tambahan untuk sesi autentikasi.

Mengembalikan

Hasilnya.

Berlaku untuk

Fail(String, AuthenticationProperties)

Sumber:
AuthenticateResult.cs
Sumber:
AuthenticateResult.cs
Sumber:
AuthenticateResult.cs

Menunjukkan bahwa ada kegagalan selama autentikasi.

public:
 static Microsoft::AspNetCore::Authentication::AuthenticateResult ^ Fail(System::String ^ failureMessage, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public static Microsoft.AspNetCore.Authentication.AuthenticateResult Fail (string failureMessage, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public static Microsoft.AspNetCore.Authentication.AuthenticateResult Fail (string failureMessage, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
static member Fail : string * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Authentication.AuthenticateResult
Public Shared Function Fail (failureMessage As String, properties As AuthenticationProperties) As AuthenticateResult

Parameter

failureMessage
String

Pesan kegagalan.

properties
AuthenticationProperties

Nilai status tambahan untuk sesi autentikasi.

Mengembalikan

Hasilnya.

Berlaku untuk