Partager via


IAuthorizationEvaluator.HasFailed(AuthorizationHandlerContext) Méthode

Définition

Retourne true, si l’autorisation a échoué.

public:
 bool HasFailed(Microsoft::AspNetCore::Authorization::AuthorizationHandlerContext ^ context);
public bool HasFailed (Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context);
abstract member HasFailed : Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext -> bool
Public Function HasFailed (context As AuthorizationHandlerContext) As Boolean

Paramètres

context
AuthorizationHandlerContext

Informations d’autorisation.

Retours

True si l’autorisation a échoué.

S’applique à