Controller.OnException(ExceptionContext) 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.
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.