FormatterParameterBinding Class

Represents parameter binding that will read from the body and invoke the formatters.

Inheritance Hierarchy

System.Object
  System.Web.Http.Controllers.HttpParameterBinding
    System.Web.Http.ModelBinding.FormatterParameterBinding

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

Syntax

'Declaration
Public Class FormatterParameterBinding _
    Inherits HttpParameterBinding
'Usage
Dim instance As FormatterParameterBinding
public class FormatterParameterBinding : HttpParameterBinding
public ref class FormatterParameterBinding : public HttpParameterBinding
type FormatterParameterBinding =  
    class 
        inherit HttpParameterBinding 
    end
public class FormatterParameterBinding extends HttpParameterBinding

The FormatterParameterBinding type exposes the following members.

Constructors

  Name Description
Public method FormatterParameterBinding Initializes a new instance of the FormatterParameterBinding class.

Top

Properties

  Name Description
Public property BodyModelValidator Gets or sets an interface for the body model validator.
Public property Descriptor Gets the HttpParameterDescriptor that was used to initialize this instance. (Inherited from HttpParameterBinding.)
Public property ErrorMessage Gets the error message. (Overrides HttpParameterBinding.ErrorMessage.)
Public property Formatters Gets or sets an enumerable object that represents the formatter for the parameter binding.
Public property IsValid Gets a value that indicates whether the binding was successful. (Inherited from HttpParameterBinding.)
Public property WillReadBody Gets whether the FormatterParameterBindingwill read body. (Overrides HttpParameterBinding.WillReadBody.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method ExecuteBindingAsync Asynchronously execute the binding of FormatterParameterBinding. (Overrides HttpParameterBinding.ExecuteBindingAsync(ModelMetadataProvider, HttpActionContext, CancellationToken).)
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. (Inherited from HttpParameterBinding.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ReadContentAsync Asynchronously reads the content of FormatterParameterBinding.
Protected method SetValue Sets the result of this parameter binding in the argument dictionary of the action context. (Inherited from HttpParameterBinding.)
Public method ToString (Inherited from Object.)

Top

Remarks

No content here will be updated; please do not add material here.

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.ModelBinding Namespace