A binding used with endpoints for web services that use strongly-type HTTP request and response messages.
Inheritance Hierarchy
System.Object
  System.ServiceModel.Channels.Binding
    System.Web.Http.SelfHost.Channels.HttpBinding
Namespace:  System.Web.Http.SelfHost.Channels
Assembly:  System.Web.Http.SelfHost (in System.Web.Http.SelfHost.dll)
Syntax
'Declaration
Public Class HttpBinding _
    Inherits Binding _
    Implements IBindingRuntimePreferences
'Usage
Dim instance As HttpBinding
public class HttpBinding : Binding, 
    IBindingRuntimePreferences
public ref class HttpBinding : public Binding, 
    IBindingRuntimePreferences
type HttpBinding =  
    class
        inherit Binding
        interface IBindingRuntimePreferences
    end
public class HttpBinding extends Binding implements IBindingRuntimePreferences
The HttpBinding type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .jpeg) | HttpBinding() | Initializes a new instance of the HttpBinding class. | 
| .jpeg) | HttpBinding(HttpBindingSecurityMode) | Initializes a new instance of the HttpBinding class with a specified security mode. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .jpeg) | CloseTimeout | (Inherited from Binding.) | 
| .jpeg) | ConfigureTransportBindingElement | Gets or sets the delegate which configures the HttpTransportBindingElement that this binding creates. | 
| .jpeg) | EnvelopeVersion | Gets the version of SOAP that is used for messages that are processed by this binding. | 
| .jpeg) | HostNameComparisonMode | Gets or sets a value that indicates whether the hostname is used to reach the service when matching the URI. | 
| .jpeg) | MaxBufferPoolSize | Gets or sets the maximum amount of memory allocated for the buffer manager that manages the buffers required by endpoints that use this binding. | 
| .jpeg) | MaxBufferSize | Gets or sets the maximum amount of memory that is allocated for use by the manager of the message buffers that receive messages from the channel. | 
| .jpeg) | MaxReceivedMessageSize | Gets or sets the maximum size for a message that can be processed by the binding. | 
| .jpeg) | MessageVersion | (Inherited from Binding.) | 
| .jpeg) | Name | (Inherited from Binding.) | 
| .jpeg) | Namespace | (Inherited from Binding.) | 
| .jpeg) | OpenTimeout | (Inherited from Binding.) | 
| .jpeg) | ReceiveTimeout | (Inherited from Binding.) | 
| .jpeg) | Scheme | Gets the URI transport scheme for the channels and listeners that are configured with this binding. (Overrides Binding.Scheme.) | 
| .jpeg) | Security | Gets or sets the security settings used with this binding. | 
| .jpeg) | SendTimeout | (Inherited from Binding.) | 
| .jpeg) | TransferMode | Gets or sets a value that indicates whether messages are sent buffered or streamed. | 
Top
Methods
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .jpeg) .gif) | IBindingRuntimePreferences.ReceiveSynchronously | Gets a value that indicates whether incoming requests are handled synchronously or asynchronously. | 
Top
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.
.jpeg)