ExecuteBindingAsync Method
Collapse the table of content
Expand the table of content

HttpParameterBinding.ExecuteBindingAsync Method (ModelMetadataProvider, HttpActionContext, CancellationToken)

 

Asynchronously executes the binding for the given request.

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

public abstract Task ExecuteBindingAsync(
	ModelMetadataProvider metadataProvider,
	HttpActionContext actionContext,
	CancellationToken cancellationToken
)

Parameters

metadataProvider
Type: System.Web.Http.Metadata.ModelMetadataProvider

Metadata provider to use for validation.

actionContext
Type: System.Web.Http.Controllers.HttpActionContext

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

cancellationToken
Type: System.Threading.CancellationToken

Cancellation token for cancelling the binding operation.

Return Value

Type: System.Threading.Tasks.Task

A task object representing the asynchronous operation.

Return to top
Show:
© 2016 Microsoft