Click or drag to resize

IAutofacExceptionFilterOnExceptionAsync Method

Called when an exception is thrown.

Namespace:  Autofac.Integration.WebApi
Assembly:  Autofac.Integration.WebApi (in Autofac.Integration.WebApi.dll) Version: 6.0.0+03bf347ff3a78c2557675254b1a417eef4b464ec
Syntax
Task OnExceptionAsync(
	HttpActionExecutedContext actionExecutedContext,
	CancellationToken cancellationToken
)

Parameters

actionExecutedContext
Type: HttpActionExecutedContext
The context for the action.
cancellationToken
Type: System.ThreadingCancellationToken
A cancellation token for signaling task ending.

Return Value

Type: Task

[Missing <returns> documentation for "M:Autofac.Integration.WebApi.IAutofacExceptionFilter.OnExceptionAsync(System.Web.Http.Filters.HttpActionExecutedContext,System.Threading.CancellationToken)"]

See Also