Table of Contents

Interface IHttpActionInvoker

Namespace
System.Web.Http.Controllers
Assembly
System.Web.Http.dll

Contains method that is used to invoke HTTP operation.

public interface IHttpActionInvoker

Methods

InvokeActionAsync(HttpActionContext, CancellationToken)

Executes asynchronously the HTTP operation.

Task<HttpResponseMessage> InvokeActionAsync(HttpActionContext actionContext, CancellationToken cancellationToken)

Parameters

actionContext HttpActionContext

The execution context.

cancellationToken CancellationToken

The cancellation token assigned for the HTTP operation.

Returns

Task<HttpResponseMessage>

The newly started task.