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)

protected virtual void OnException(
	ExceptionContext filterContext
)

Parameters

filterContext
Type: System.Web.Mvc.ExceptionContext

Information about the current request and action.

Return to top
Show:
© 2015 Microsoft