ControllerActionInvoker.InvokeExceptionFilters Method
Invokes the specified exception filters by using the specified exception and controller context.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Protected Overridable Function InvokeExceptionFilters ( _
controllerContext As ControllerContext, _
filters As IList(Of IExceptionFilter), _
exception As Exception _
) As ExceptionContext
protected virtual ExceptionContext InvokeExceptionFilters(
ControllerContext controllerContext,
IList<IExceptionFilter> filters,
Exception exception
)
protected:
virtual ExceptionContext^ InvokeExceptionFilters(
ControllerContext^ controllerContext,
IList<IExceptionFilter^>^ filters,
Exception^ exception
)
Parameters
- controllerContext
Type: System.Web.Mvc.ControllerContext
The controller context.
- filters
Type: System.Collections.Generic.IList<IExceptionFilter>
The exception filters.
- exception
Type: System.Exception
The exception.
Return Value
Type: System.Web.Mvc.ExceptionContext
The context for the HandleErrorAttribute object.