AccessDeniedModel Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Page presenting the Access denied error.
[Microsoft.AspNetCore.Authorization.AllowAnonymous]
public class AccessDeniedModel : Microsoft.AspNetCore.Mvc.RazorPages.PageModel
[<Microsoft.AspNetCore.Authorization.AllowAnonymous>]
type AccessDeniedModel = class
inherit PageModel
Public Class AccessDeniedModel
Inherits PageModel
- Inheritance
-
AccessDeniedModel
- Attributes
Constructors
AccessDeniedModel() |
Methods
OnGet() |
Method handling the HTTP GET method. |