Share via


IExceptionFilter.ExecuteExceptionFilterAsync Method

Executes an asynchronous exception filter.

Namespace:  System.Web.Http.Filters
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Function ExecuteExceptionFilterAsync ( _
    actionExecutedContext As HttpActionExecutedContext, _
    cancellationToken As CancellationToken _
) As Task
'Usage
Dim instance As IExceptionFilter
Dim actionExecutedContext As HttpActionExecutedContext
Dim cancellationToken As CancellationToken
Dim returnValue As Task

returnValue = instance.ExecuteExceptionFilterAsync(actionExecutedContext, _
    cancellationToken)
Task ExecuteExceptionFilterAsync(
    HttpActionExecutedContext actionExecutedContext,
    CancellationToken cancellationToken
)
Task^ ExecuteExceptionFilterAsync(
    HttpActionExecutedContext^ actionExecutedContext, 
    CancellationToken cancellationToken
)
abstract ExecuteExceptionFilterAsync : 
        actionExecutedContext:HttpActionExecutedContext * 
        cancellationToken:CancellationToken -> Task 
function ExecuteExceptionFilterAsync(
    actionExecutedContext : HttpActionExecutedContext, 
    cancellationToken : CancellationToken
) : Task

Parameters

Return Value

Type: System.Threading.Tasks.Task
An asynchronous exception filter.

See Also

Reference

IExceptionFilter Interface

System.Web.Http.Filters Namespace