ErrorModel 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.
Model for the Error page.
[Microsoft.AspNetCore.Authorization.AllowAnonymous]
[Microsoft.AspNetCore.Mvc.ResponseCache(Duration=0, Location=Microsoft.AspNetCore.Mvc.ResponseCacheLocation.None, NoStore=true)]
public class ErrorModel : Microsoft.AspNetCore.Mvc.RazorPages.PageModel
[<Microsoft.AspNetCore.Authorization.AllowAnonymous>]
[<Microsoft.AspNetCore.Mvc.ResponseCache(Duration=0, Location=Microsoft.AspNetCore.Mvc.ResponseCacheLocation.None, NoStore=true)>]
type ErrorModel = class
inherit PageModel
Public Class ErrorModel
Inherits PageModel
- Inheritance
-
ErrorModel
- Attributes
Constructors
ErrorModel(ILoginErrorAccessor) |
Initializes a new instance of the ErrorModel class. |
Properties
Error |
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. |
RequestId |
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. |
ShowRequestId |
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. |
Methods
OnGet() |
This API supports infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases. |