HandleRequestResult.Fail Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
Fail(Exception) |
Indique qu’il y a eu un échec lors de l’authentification. |
Fail(String) |
Indique qu’il y a eu un échec lors de l’authentification. |
Fail(Exception, AuthenticationProperties) |
Indique qu’il y a eu un échec lors de l’authentification. |
Fail(String, AuthenticationProperties) |
Indique qu’il y a eu un échec lors de l’authentification. |
Fail(Exception)
- Source:
- HandleRequestResult.cs
- Source:
- HandleRequestResult.cs
- Source:
- HandleRequestResult.cs
Indique qu’il y a eu un échec lors de l’authentification.
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
Paramètres
- failure
- Exception
Exception d’échec.
Retours
Résultat.
S’applique à
Fail(String)
- Source:
- HandleRequestResult.cs
- Source:
- HandleRequestResult.cs
- Source:
- HandleRequestResult.cs
Indique qu’il y a eu un échec lors de l’authentification.
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
Paramètres
- failureMessage
- String
Message d’échec.
Retours
Résultat.
S’applique à
Fail(Exception, AuthenticationProperties)
- Source:
- HandleRequestResult.cs
- Source:
- HandleRequestResult.cs
- Source:
- HandleRequestResult.cs
Indique qu’il y a eu un échec lors de l’authentification.
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
Paramètres
- failure
- Exception
Exception d’échec.
- properties
- AuthenticationProperties
Valeurs d'état supplémentaires pour la session d'authentification.
Retours
Résultat.
S’applique à
Fail(String, AuthenticationProperties)
- Source:
- HandleRequestResult.cs
- Source:
- HandleRequestResult.cs
- Source:
- HandleRequestResult.cs
Indique qu’il y a eu un échec lors de l’authentification.
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
Paramètres
- failureMessage
- String
Message d’échec.
- properties
- AuthenticationProperties
Valeurs d'état supplémentaires pour la session d'authentification.
Retours
Résultat.