Compartilhar via


ErrorModel Class

Definition

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.

Applies to