ServiceExceptionFilterAttribute.OnException(HttpActionExecutedContext) Method

Definition

Logs the unhandled exception using LogCategories which makes it show up in the application log unless the application has been configured to not log such events.

public override void OnException (System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext);
override this.OnException : System.Web.Http.Filters.HttpActionExecutedContext -> unit
Public Overrides Sub OnException (actionExecutedContext As HttpActionExecutedContext)

Parameters

actionExecutedContext
System.Web.Http.Filters.HttpActionExecutedContext

The System.Web.Http.Filters.HttpActionExecutedContext for this exception.

Applies to