Share via


Controller.IExceptionFilter.OnException Method

This API supports the MVC infrastructure and is not intended to be used directly from your code. This method calls the OnException method.

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

Syntax

'Declaration
Private Sub OnException ( _
    filterContext As ExceptionContext _
) Implements IExceptionFilter.OnException
void IExceptionFilter.OnException(
    ExceptionContext filterContext
)
private:
virtual void OnException(
    ExceptionContext^ filterContext
) sealed = IExceptionFilter::OnException

Parameters

Implements

IExceptionFilter.OnException(ExceptionContext)

Remarks

This member is an explicit interface member implementation. It can be used only when a derived Controller instance is cast to an IExceptionFilter interface.

See Also

Reference

Controller Class

System.Web.Mvc Namespace