Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ModelBinderParameterBinding.ExecuteBindingAsync Method (ModelMetadataProvider, HttpActionContext, CancellationToken)

 

Asynchronously executes the parameter binding via the model binder.

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

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

Parameters

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

The metadata provider to use for validation.

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

The action context for the binding.

cancellationToken
Type: System.Threading.CancellationToken

The cancellation token assigned for this task for cancelling the binding operation.

Return Value

Type: System.Threading.Tasks.Task

The task that is signaled when the binding is complete.

Return to top
Show:
© 2015 Microsoft