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 | |
---|---|---|
HttpActionBinding() | Initializes a new instance of the HttpActionBinding class. | |
HttpActionBinding(HttpActionDescriptor, HttpParameterBinding[]) | Initializes a new instance of the HttpActionBinding class. |
Top
Properties
Name | Description | |
---|---|---|
ActionDescriptor | Gets or sets the back pointer to the action this binding is for. | |
ParameterBindings | Gets or sets the synchronous bindings for each parameter. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
ExecuteBindingAsync | Executes asynchronously the binding for the given request context. | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.