Controller.OnException Method (ExceptionContext)

 

Called when an unhandled exception occurs in the action.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

protected virtual void OnException(
    ExceptionContext filterContext
)
protected:
virtual void OnException(
    ExceptionContext^ filterContext
)
abstract OnException : 
        filterContext:ExceptionContext -> unit
override OnException : 
        filterContext:ExceptionContext -> unit
Protected Overridable Sub OnException (
    filterContext As ExceptionContext
)

Parameters

See Also

Controller Class
System.Web.Mvc Namespace

Return to top