Partager via


AuthorizationFailureReason(IAuthorizationHandler, String) Constructeur

Définition

Crée une raison d’échec.

public AuthorizationFailureReason (Microsoft.AspNetCore.Authorization.IAuthorizationHandler handler, string message);
new Microsoft.AspNetCore.Authorization.AuthorizationFailureReason : Microsoft.AspNetCore.Authorization.IAuthorizationHandler * string -> Microsoft.AspNetCore.Authorization.AuthorizationFailureReason
Public Sub New (handler As IAuthorizationHandler, message As String)

Paramètres

handler
IAuthorizationHandler

Gestionnaire responsable de cette raison d’échec.

message
String

Message décrivant l’échec.

S’applique à