ControllerActionInvoker.InvokeExceptionFilters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.