HttpActionBinding Class

Describes *how* the binding will happen and does not actually bind.


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

public class HttpActionBinding

The HttpActionBinding type exposes the following members.

Public methodHttpActionBinding()Initializes a new instance of the HttpActionBinding class.
Public methodHttpActionBinding(HttpActionDescriptor, HttpParameterBinding[])Initializes a new instance of the HttpActionBinding class.

Public propertyActionDescriptorGets or sets the back pointer to the action this binding is for.
Public propertyParameterBindingsGets or sets the synchronous bindings for each parameter.

Public methodEquals (Inherited from Object.)
Public methodExecuteBindingAsyncExecutes asynchronously the binding for the given request context.
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

This is static for a given action descriptor and can be reused across requests. This may be a nice thing to log, or set a breakpoint after we create, and preview what is about to happen. In theory, this could be precompiled for each Action descriptor.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.