Dela via


AccessDeniedContext.AccessDeniedPath Property

Definition

Gets or sets the endpoint path the user agent will be redirected to. By default, this property is set to 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

Property Value

Applies to