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)
Syntax
public virtual Task ExecuteBindingAsync(
HttpActionContext actionContext,
CancellationToken cancellationToken
)
public:
virtual Task^ ExecuteBindingAsync(
HttpActionContext^ actionContext,
CancellationToken cancellationToken
)
abstract ExecuteBindingAsync :
actionContext:HttpActionContext *
cancellationToken:CancellationToken -> Task
override ExecuteBindingAsync :
actionContext:HttpActionContext *
cancellationToken:CancellationToken -> Task
Public Overridable Function ExecuteBindingAsync (
actionContext As HttpActionContext,
cancellationToken As CancellationToken
) As Task
Parameters
actionContext
Type: System.Web.Http.Controllers.HttpActionContextThe action context for the binding. This contains the parameter dictionary that will get populated.
cancellationToken
Type: System.Threading.CancellationTokenThe 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.
See Also
HttpActionBinding Class
System.Web.Http.Controllers Namespace
Return to top