HttpActionBinding Constructor (HttpActionDescriptor, HttpParameterBinding[])
Initializes a new instance of the HttpActionBinding class.
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub New ( _
actionDescriptor As HttpActionDescriptor, _
bindings As HttpParameterBinding() _
)
'Usage
Dim actionDescriptor As HttpActionDescriptor
Dim bindings As HttpParameterBinding()
Dim instance As New HttpActionBinding(actionDescriptor, _
bindings)
public HttpActionBinding(
HttpActionDescriptor actionDescriptor,
HttpParameterBinding[] bindings
)
public:
HttpActionBinding(
HttpActionDescriptor^ actionDescriptor,
array<HttpParameterBinding^>^ bindings
)
new :
actionDescriptor:HttpActionDescriptor *
bindings:HttpParameterBinding[] -> HttpActionBinding
public function HttpActionBinding(
actionDescriptor : HttpActionDescriptor,
bindings : HttpParameterBinding[]
)
Parameters
actionDescriptor
Type: System.Web.Http.Controllers.HttpActionDescriptorThe back pointer to the action this binding is for.
bindings
Type: System.Web.Http.Controllers.HttpParameterBinding[]The synchronous bindings for each parameter.