共用方式為


PolicyAuthorizationResult.AuthorizationFailure 屬性

定義

包含授權失敗原因的相關資訊。

public:
 property Microsoft::AspNetCore::Authorization::AuthorizationFailure ^ AuthorizationFailure { Microsoft::AspNetCore::Authorization::AuthorizationFailure ^ get(); };
public Microsoft.AspNetCore.Authorization.AuthorizationFailure? AuthorizationFailure { get; }
member this.AuthorizationFailure : Microsoft.AspNetCore.Authorization.AuthorizationFailure
Public ReadOnly Property AuthorizationFailure As AuthorizationFailure

屬性值

適用於