Bagikan melalui


HandleRequestResult.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:
HandleRequestResult.cs
Sumber:
HandleRequestResult.cs
Sumber:
HandleRequestResult.cs

Menunjukkan bahwa ada kegagalan selama autentikasi.

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

Parameter

failure
Exception

Pengecualian kegagalan.

Mengembalikan

Hasilnya.

Berlaku untuk

Fail(String)

Sumber:
HandleRequestResult.cs
Sumber:
HandleRequestResult.cs
Sumber:
HandleRequestResult.cs

Menunjukkan bahwa ada kegagalan selama autentikasi.

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

Parameter

failureMessage
String

Pesan kegagalan.

Mengembalikan

Hasilnya.

Berlaku untuk

Fail(Exception, AuthenticationProperties)

Sumber:
HandleRequestResult.cs
Sumber:
HandleRequestResult.cs
Sumber:
HandleRequestResult.cs

Menunjukkan bahwa ada kegagalan selama autentikasi.

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

Parameter

failure
Exception

Pengecualian kegagalan.

properties
AuthenticationProperties

Nilai status tambahan untuk sesi autentikasi.

Mengembalikan

Hasilnya.

Berlaku untuk

Fail(String, AuthenticationProperties)

Sumber:
HandleRequestResult.cs
Sumber:
HandleRequestResult.cs
Sumber:
HandleRequestResult.cs

Menunjukkan bahwa ada kegagalan selama autentikasi.

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

Parameter

failureMessage
String

Pesan kegagalan.

properties
AuthenticationProperties

Nilai status tambahan untuk sesi autentikasi.

Mengembalikan

Hasilnya.

Berlaku untuk