HandleErrorAttribute.OnException(ExceptionContext) Method

Definition

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.

Applies to