Controller.OnException(ExceptionContext) Method

Definition

Called when an unhandled exception occurs in the action.

protected virtual void OnException (System.Web.Mvc.ExceptionContext filterContext);
abstract member OnException : System.Web.Mvc.ExceptionContext -> unit
override this.OnException : System.Web.Mvc.ExceptionContext -> unit
Protected Overridable Sub OnException (filterContext As ExceptionContext)

Parameters

filterContext
ExceptionContext

Information about the current request and action.

Implements

Applies to