Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- actionExecutedContext
Type: System.Web.Http.Filters.HttpActionExecutedContext
The action executed context.
- cancellationToken
Type: System.Threading.CancellationToken
The cancellation token.
Return Value
Type: System.Threading.Tasks.Task
An asynchronous exception filter.