Compartilhar via


AuthorizationFailureReason(IAuthorizationHandler, String) Construtor

Definição

Cria um novo motivo de falha.

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)

Parâmetros

handler
IAuthorizationHandler

O manipulador responsável por esse motivo de falha.

message
String

A mensagem que descreve a falha.

Aplica-se a