Udostępnij za pośrednictwem


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

Return Value

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

See Also

Reference

ControllerActionInvoker Class

System.Web.Mvc Namespace