HttpResponseExceptionActionFilter HttpResponseExceptionActionFilter HttpResponseExceptionActionFilter Class

Definition

An action filter that sets Result to an ObjectResult if the exception type is HttpResponseException. This filter runs immediately after the action.

public class HttpResponseExceptionActionFilter : Microsoft.AspNetCore.Mvc.Filters.IActionFilter, Microsoft.AspNetCore.Mvc.Filters.IOrderedFilter
type HttpResponseExceptionActionFilter = class
    interface IActionFilter
    interface IFilterMetadata
    interface IOrderedFilter
Public Class HttpResponseExceptionActionFilter
Implements IActionFilter, IOrderedFilter
Inheritance
HttpResponseExceptionActionFilterHttpResponseExceptionActionFilterHttpResponseExceptionActionFilter
Implements

Constructors

HttpResponseExceptionActionFilter() HttpResponseExceptionActionFilter() HttpResponseExceptionActionFilter()

Properties

Order Order Order

Methods

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

Applies to