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
HttpActionContextThe execution context.
cancellationToken
CancellationTokenThe cancellation token assigned for the HTTP operation.
Returns
- Task<HttpResponseMessage>
The newly started task.