共用方式為


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)

屬性值

適用於