Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
OnException Method

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)

abstract OnException : 
        filterContext:ExceptionContext -> unit
override OnException : 
        filterContext:ExceptionContext -> unit


Type: System.Web.Mvc.ExceptionContext

Information about the current request and action.

Return to top
© 2015 Microsoft