HttpActionBinding.ExecuteBindingAsync Method (HttpActionContext, CancellationToken)


Executes asynchronously the binding for the given request context.

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

public virtual Task ExecuteBindingAsync(
	HttpActionContext actionContext,
	CancellationToken cancellationToken


Type: System.Web.Http.Controllers.HttpActionContext

The action context for the binding. This contains the parameter dictionary that will get populated.

Type: System.Threading.CancellationToken

The cancellation token for cancelling the binding operation. Or a binder can also bind a parameter to this.

Return Value

Type: System.Threading.Tasks.Task

Task that is signaled when the binding is complete.

Return to top