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)

'Declaration
Protected Overridable Function InvokeExceptionFilters ( _
	controllerContext As ControllerContext, _
	filters As IList(Of IExceptionFilter), _
	exception As Exception _
) As ExceptionContext
'Usage
Dim controllerContext As ControllerContext 
Dim filters As IList(Of IExceptionFilter)
Dim exception As Exception 
Dim returnValue As ExceptionContext 

returnValue = Me.InvokeExceptionFilters(controllerContext, _
	filters, exception)

Parameters

controllerContext
Type: System.Web.Mvc.ControllerContext

The controller context.

filters
Type: System.Collections.Generic.IList(Of IExceptionFilter)

The exception filters.

exception
Type: System.Exception

The exception.

Return Value

Type: System.Web.Mvc.ExceptionContext
The context for the HandleErrorAttribute object.
Show: