Export (0) Print
Expand All

HttpActionDescriptor.ExecuteAsync Method

Executes the described action and returns a Task<TResult> that once completed will contain the return value of the action.

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

public abstract Task<Object> ExecuteAsync(
	HttpControllerContext controllerContext,
	IDictionary<string, Object> arguments,
	CancellationToken cancellationToken
)

Parameters

controllerContext
Type: System.Web.Http.Controllers.HttpControllerContext

The controller context.

arguments
Type: System.Collections.Generic.IDictionary<String, Object>

A list of arguments.

cancellationToken
Type: System.Threading.CancellationToken

The cancellation token.

Return Value

Type: System.Threading.Tasks.Task<Object>
A Task<TResult> that once completed will contain the return value of the action.
Show:
© 2014 Microsoft