IExceptionFilter.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 after an action has thrown an Exception.
public:
void OnException(Microsoft::AspNetCore::Mvc::Filters::ExceptionContext ^ context);
public void OnException (Microsoft.AspNetCore.Mvc.Filters.ExceptionContext context);
abstract member OnException : Microsoft.AspNetCore.Mvc.Filters.ExceptionContext -> unit
Public Sub OnException (context As ExceptionContext)
Parameters
- context
- ExceptionContext
The ExceptionContext.