AuthorizationFailure.FailureReasons 属性

定义

允许 IAuthorizationHandler 流更详细地说明授权失败的原因。

public System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Authorization.AuthorizationFailureReason> FailureReasons { get; }
member this.FailureReasons : seq<Microsoft.AspNetCore.Authorization.AuthorizationFailureReason>
Public ReadOnly Property FailureReasons As IEnumerable(Of AuthorizationFailureReason)

属性值

适用于