HandleErrorAttribute::OnException Method

Called when an exception occurs.

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

public:
virtual void OnException(
	ExceptionContext^ filterContext
)

Parameters

filterContext
Type: System.Web.Mvc::ExceptionContext

The action-filter context.

Implements

IExceptionFilter::OnException(ExceptionContext)

ExceptionCondition
ArgumentNullException

The filterContext parameter is nullptr.

Show: