Share via

HttpParameterBinding Class

Describes how a parameter is bound. The binding should be static (based purely on the descriptor) and can be shared across requests.

Inheritance Hierarchy


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


Public MustInherit Class HttpParameterBinding
Dim instance As HttpParameterBinding
public abstract class HttpParameterBinding
public ref class HttpParameterBinding abstract
type HttpParameterBinding =  class end
public abstract class HttpParameterBinding

The HttpParameterBinding type exposes the following members.


  Name Description
Protected method HttpParameterBinding Initializes a new instance of the HttpParameterBinding class.



  Name Description
Public property Descriptor Gets the HttpParameterDescriptor that was used to initialize this instance.
Public property ErrorMessage If the binding is invalid, gets an error message that describes the binding error.
Public property IsValid Gets a value that indicates whether the binding was successful.
Public property WillReadBody Returns a value indicating whether this HttpParameterBinding instance will read the entity body of the HTTP message.



  Name Description
Public method Equals (Inherited from Object.)
Public method ExecuteBindingAsync Asynchronously executes the binding for the given request.
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method GetValue Gets the parameter value from argument dictionary of the action context.
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetValue Sets the result of this parameter binding in the argument dictionary of the action context.
Public method ToString (Inherited from Object.)


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


System.Web.Http.Controllers Namespace