Export (0) Print
Expand All

HttpActionBinding Class

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

System.Object
  System.Web.Http.Controllers.HttpActionBinding

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

'Declaration
Public Class HttpActionBinding
'Usage
Dim instance As HttpActionBinding

The HttpActionBinding type exposes the following members.

  NameDescription
Public methodHttpActionBindingInitializes a new instance of the HttpActionBinding class.
Public methodHttpActionBinding(HttpActionDescriptor, HttpParameterBinding())Initializes a new instance of the HttpActionBinding class.
Top

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

  NameDescription
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.)
Top

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.
Show:
© 2014 Microsoft