Table of Contents

Interface IExceptionFilter

Namespace
System.Web.Http.Filters
Assembly
System.Web.Http.dll

Defines the methods that are required for an exception filter.

public interface IExceptionFilter : IFilter
Inherited Members

Methods

ExecuteExceptionFilterAsync(HttpActionExecutedContext, CancellationToken)

Executes an asynchronous exception filter.

Task ExecuteExceptionFilterAsync(HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken)

Parameters

actionExecutedContext HttpActionExecutedContext

The action executed context.

cancellationToken CancellationToken

The cancellation token.

Returns

Task

An asynchronous exception filter.