Partager via


DefaultAuthorizationEvaluator.HasFailed(AuthorizationHandlerContext) Méthode

Définition

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

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

Paramètres

context
AuthorizationHandlerContext

Informations d’autorisation.

Retours

True si l’autorisation a échoué.

Implémente

S’applique à