共用方式為


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)

屬性值

適用於