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.
Asynchronously executes the exception filter.
Namespace: System.Web.Http.Filters
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Private Function ExecuteExceptionFilterAsync ( _
actionExecutedContext As HttpActionExecutedContext, _
cancellationToken As CancellationToken _
) As Task Implements IExceptionFilter.ExecuteExceptionFilterAsync
'Usage
Dim instance As ExceptionFilterAttribute
Dim actionExecutedContext As HttpActionExecutedContext
Dim cancellationToken As CancellationToken
Dim returnValue As Task
returnValue = CType(instance, IExceptionFilter).ExecuteExceptionFilterAsync(actionExecutedContext, _
cancellationToken)
Task IExceptionFilter.ExecuteExceptionFilterAsync(
HttpActionExecutedContext actionExecutedContext,
CancellationToken cancellationToken
)
private:
virtual Task^ ExecuteExceptionFilterAsync(
HttpActionExecutedContext^ actionExecutedContext,
CancellationToken cancellationToken
) sealed = IExceptionFilter::ExecuteExceptionFilterAsync
private abstract ExecuteExceptionFilterAsync :
actionExecutedContext:HttpActionExecutedContext *
cancellationToken:CancellationToken -> Task
private override ExecuteExceptionFilterAsync :
actionExecutedContext:HttpActionExecutedContext *
cancellationToken:CancellationToken -> Task
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- actionExecutedContext
Type: System.Web.Http.Filters.HttpActionExecutedContext
The context for the action.
- cancellationToken
Type: System.Threading.CancellationToken
The cancellation context.
Return Value
Type: System.Threading.Tasks.Task
The result of the execution.
Implements
IExceptionFilter.ExecuteExceptionFilterAsync(HttpActionExecutedContext, CancellationToken)