ControllerActionInvoker.InvokeExceptionFilters Method

Definition

Invokes the specified exception filters by using the specified exception and controller context.

protected virtual System.Web.Mvc.ExceptionContext InvokeExceptionFilters (System.Web.Mvc.ControllerContext controllerContext, System.Collections.Generic.IList<System.Web.Mvc.IExceptionFilter> filters, Exception exception);
abstract member InvokeExceptionFilters : System.Web.Mvc.ControllerContext * System.Collections.Generic.IList<System.Web.Mvc.IExceptionFilter> * Exception -> System.Web.Mvc.ExceptionContext
override this.InvokeExceptionFilters : System.Web.Mvc.ControllerContext * System.Collections.Generic.IList<System.Web.Mvc.IExceptionFilter> * Exception -> System.Web.Mvc.ExceptionContext
Protected Overridable Function InvokeExceptionFilters (controllerContext As ControllerContext, filters As IList(Of IExceptionFilter), exception As Exception) As ExceptionContext

Parameters

controllerContext
ControllerContext

The controller context.

filters
IList<IExceptionFilter>

The exception filters.

exception
Exception

The exception.

Returns

The context for the HandleErrorAttribute object.

Applies to