Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Called when an exception occurs.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Overridable Sub OnException ( _
filterContext As ExceptionContext _
)
public virtual void OnException(
ExceptionContext filterContext
)
public:
virtual void OnException(
ExceptionContext^ filterContext
)
Parameters
- filterContext
Type: System.Web.Mvc.ExceptionContext
The action-filter context.
Implements
IExceptionFilter.OnException(ExceptionContext)
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The filterContext parameter is null reference (Nothing in Visual Basic). |