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 ref class HttpResponseExceptionActionFilter : Microsoft::AspNetCore::Mvc::Filters::IActionFilter, Microsoft::AspNetCore::Mvc::Filters::IOrderedFilter
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
HttpResponseExceptionActionFilter
Implements

Constructors

HttpResponseExceptionActionFilter()

Properties

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)

Called after the action executes, before the action result.

OnActionExecuting(ActionExecutingContext)

Called before the action executes, after model binding is complete.

Applies to