AntiforgeryValidationFailedResult AntiforgeryValidationFailedResult AntiforgeryValidationFailedResult AntiforgeryValidationFailedResult Class

Definition

A BadRequestResult used for antiforgery validation failures. Use IAntiforgeryValidationFailedResult to match for validation failures inside MVC result filters.

public ref class AntiforgeryValidationFailedResult : Microsoft::AspNetCore::Mvc::BadRequestResult, Microsoft::AspNetCore::Mvc::Core::Infrastructure::IAntiforgeryValidationFailedResult, Microsoft::AspNetCore::Mvc::IActionResult
public class AntiforgeryValidationFailedResult : Microsoft.AspNetCore.Mvc.BadRequestResult, Microsoft.AspNetCore.Mvc.Core.Infrastructure.IAntiforgeryValidationFailedResult, Microsoft.AspNetCore.Mvc.IActionResult
type AntiforgeryValidationFailedResult = class
    inherit BadRequestResult
    interface IAntiforgeryValidationFailedResult
    interface IActionResult
Public Class AntiforgeryValidationFailedResult
Inherits BadRequestResult
Implements IActionResult, IAntiforgeryValidationFailedResult
Inheritance
AntiforgeryValidationFailedResultAntiforgeryValidationFailedResultAntiforgeryValidationFailedResultAntiforgeryValidationFailedResult
Implements

Constructors

AntiforgeryValidationFailedResult() AntiforgeryValidationFailedResult() AntiforgeryValidationFailedResult() AntiforgeryValidationFailedResult()

Methods

ExecuteResult(ActionContext) ExecuteResult(ActionContext) ExecuteResult(ActionContext) ExecuteResult(ActionContext) Inherited from StatusCodeResult
ExecuteResultAsync(ActionContext) ExecuteResultAsync(ActionContext) ExecuteResultAsync(ActionContext) ExecuteResultAsync(ActionContext)

Executes the result operation of the action method asynchronously. This method is called by MVC to process the result of an action method. The default implementation of this method calls the ExecuteResult(ActionContext) method and returns a completed task.

(Inherited from ActionResult)

Properties

IStatusCodeActionResult.StatusCode IStatusCodeActionResult.StatusCode IStatusCodeActionResult.StatusCode IStatusCodeActionResult.StatusCode Inherited from StatusCodeResult
StatusCode StatusCode StatusCode StatusCode

Gets the HTTP status code.

(Inherited from StatusCodeResult)

Applies to