ModelStateInvalidFilter ModelStateInvalidFilter ModelStateInvalidFilter ModelStateInvalidFilter Class

Definition

A IActionFilter that responds to invalid ModelState. This filter is added to all types and actions annotated with ApiControllerAttribute. See ApiBehaviorOptions for ways to configure this filter.

public ref class ModelStateInvalidFilter : Microsoft::AspNetCore::Mvc::Filters::IActionFilter, Microsoft::AspNetCore::Mvc::Filters::IOrderedFilter
public class ModelStateInvalidFilter : Microsoft.AspNetCore.Mvc.Filters.IActionFilter, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter
type ModelStateInvalidFilter = class
    interface IActionFilter
    interface IFilterMetadata
    interface IOrderedFilter
Public Class ModelStateInvalidFilter
Implements IActionFilter, IOrderedFilter
Inheritance
ModelStateInvalidFilterModelStateInvalidFilterModelStateInvalidFilterModelStateInvalidFilter
Implements

Constructors

ModelStateInvalidFilter(ApiBehaviorOptions, ILogger) ModelStateInvalidFilter(ApiBehaviorOptions, ILogger) ModelStateInvalidFilter(ApiBehaviorOptions, ILogger) ModelStateInvalidFilter(ApiBehaviorOptions, ILogger)

Properties

IsReusable IsReusable IsReusable IsReusable
Order Order Order Order

Gets the order value for determining the order of execution of filters. Filters execute in ascending numeric value of the Order property.

Methods

OnActionExecuted(ActionExecutedContext) OnActionExecuted(ActionExecutedContext) OnActionExecuted(ActionExecutedContext) OnActionExecuted(ActionExecutedContext)
OnActionExecuting(ActionExecutingContext) OnActionExecuting(ActionExecutingContext) OnActionExecuting(ActionExecutingContext) OnActionExecuting(ActionExecutingContext)

Applies to