Sdílet prostřednictvím


ControllerActionInvoker.InvokeExceptionFilters Metoda

Definice

Vyvolá filtry zadaných výjimek pomocí zadané výjimky a kontextu kontroleru.

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

Parametry

controllerContext
ControllerContext

Kontext kontroleru.

filters
IList<IExceptionFilter>

Filtry výjimek

exception
Exception

Výjimka

Návraty

Kontext objektu HandleErrorAttribute .

Platí pro