Share via


ExceptionFilterAttribute.OnExceptionAsync Method (HttpActionExecutedContext, CancellationToken)

 

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

Syntax

public virtual Task OnExceptionAsync(
    HttpActionExecutedContext actionExecutedContext,
    CancellationToken cancellationToken
)
public:
virtual Task^ OnExceptionAsync(
    HttpActionExecutedContext^ actionExecutedContext,
    CancellationToken cancellationToken
)
abstract OnExceptionAsync : 
        actionExecutedContext:HttpActionExecutedContext *
        cancellationToken:CancellationToken -> Task
override OnExceptionAsync : 
        actionExecutedContext:HttpActionExecutedContext *
        cancellationToken:CancellationToken -> Task
Public Overridable Function OnExceptionAsync (
    actionExecutedContext As HttpActionExecutedContext,
    cancellationToken As CancellationToken
) As Task

Parameters

Return Value

Type: System.Threading.Tasks.Task

See Also

ExceptionFilterAttribute Class
System.Web.Http.Filters Namespace

Return to top