HandleRequestResult.Fail Metoda

Definice

Přetížení

Fail(Exception)

Označuje, že během ověřování došlo k chybě.

Fail(String)

Označuje, že během ověřování došlo k chybě.

Fail(Exception, AuthenticationProperties)

Označuje, že během ověřování došlo k chybě.

Fail(String, AuthenticationProperties)

Označuje, že během ověřování došlo k chybě.

Fail(Exception)

Označuje, že během ověřování došlo k chybě.

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

Parametry

failure
Exception

Výjimka selhání.

Návraty

HandleRequestResult

Výsledek.

Platí pro

Fail(String)

Označuje, že během ověřování došlo k chybě.

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

Parametry

failureMessage
String

Zpráva o selhání.

Návraty

HandleRequestResult

Výsledek.

Platí pro

Fail(Exception, AuthenticationProperties)

Označuje, že během ověřování došlo k chybě.

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

Parametry

failure
Exception

Výjimka selhání.

properties
AuthenticationProperties

Další hodnoty stavu relace ověřování

Návraty

HandleRequestResult

Výsledek.

Platí pro

Fail(String, AuthenticationProperties)

Označuje, že během ověřování došlo k chybě.

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

Parametry

failureMessage
String

Zpráva o selhání.

properties
AuthenticationProperties

Další hodnoty stavu relace ověřování

Návraty

HandleRequestResult

Výsledek.

Platí pro