Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpActionDescriptor::ExecuteAsync Method (HttpControllerContext^, IDictionary<String^, Object^>^, CancellationToken)

 

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:
virtual Task<Object^>^ ExecuteAsync(
	HttpControllerContext^ controllerContext,
	IDictionary<String^, Object^>^ arguments,
	CancellationToken cancellationToken
) abstract

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.

Return to top
Show: