HttpActionBinding Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class HttpActionBinding
'Usage
Dim instance As HttpActionBinding
public class HttpActionBinding
public ref class HttpActionBinding
type HttpActionBinding =  class end
public class HttpActionBinding

The HttpActionBinding type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property ActionDescriptor Gets or sets the back pointer to the action this binding is for.
Public property ParameterBindings Gets or sets the synchronous bindings for each parameter.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method ExecuteBindingAsync Executes asynchronously the binding for the given request context.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

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.

Thread Safety

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

See Also

Reference

System.Web.Http.Controllers Namespace