共用方式為


AccessDeniedContext.AccessDeniedPath 屬性

定義

取得或設定將重新導向使用者代理程式的端點路徑。 根據預設,這個屬性設定為 AccessDeniedPath

public:
 property Microsoft::AspNetCore::Http::PathString AccessDeniedPath { Microsoft::AspNetCore::Http::PathString get(); void set(Microsoft::AspNetCore::Http::PathString value); };
public Microsoft.AspNetCore.Http.PathString AccessDeniedPath { get; set; }
member this.AccessDeniedPath : Microsoft.AspNetCore.Http.PathString with get, set
Public Property AccessDeniedPath As PathString

屬性值

適用於