HandleErrorAttribute.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 exception occurs.
public virtual void OnException (System.Web.Mvc.ExceptionContext filterContext);
abstract member OnException : System.Web.Mvc.ExceptionContext -> unit
override this.OnException : System.Web.Mvc.ExceptionContext -> unit
Public Overridable Sub OnException (filterContext As ExceptionContext)
Parameters
- filterContext
- ExceptionContext
The action-filter context.
Implements
Exceptions
The filterContext
parameter is null.