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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for