Freigeben über


AuthorizationFailureReason(IAuthorizationHandler, String) Konstruktor

Definition

Erstellt einen neuen Fehlergrund.

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)

Parameter

handler
IAuthorizationHandler

Der Handler, der für diesen Fehlergrund verantwortlich ist.

message
String

Die Meldung, die den Fehler beschreibt.

Gilt für: