Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
public abstract Task<object> ExecuteAsync(
HttpControllerContext controllerContext,
IDictionary<string, object> arguments,
CancellationToken cancellationToken
)
public:
virtual Task<Object^>^ ExecuteAsync(
HttpControllerContext^ controllerContext,
IDictionary<String^, Object^>^ arguments,
CancellationToken cancellationToken
) abstract
abstract ExecuteAsync :
controllerContext:HttpControllerContext *
arguments:IDictionary<string, Object> *
cancellationToken:CancellationToken -> Task<Object>
Public MustOverride Function ExecuteAsync (
controllerContext As HttpControllerContext,
arguments As IDictionary(Of String, Object),
cancellationToken As CancellationToken
) As Task(Of Object)
Parameters
controllerContext
Type: System.Web.Http.Controllers.HttpControllerContextThe controller context.
arguments
Type: System.Collections.Generic.IDictionary<String, Object>A list of arguments.
cancellationToken
Type: System.Threading.CancellationTokenThe cancellation token.
Return Value
Type: System.Threading.Tasks.Task<Object>
A Task<TResult> that once completed will contain the return value of the action.
See Also
HttpActionDescriptor Class
System.Web.Http.Controllers Namespace
Return to top