AuthorizationHandlerContext.FailureReasons 属性

定义

获取授权失败的原因。

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

属性值

适用于