Share via


HttpBinding Class

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
Public method HttpBinding() Initializes a new instance of the HttpBinding class.
Public method HttpBinding(HttpBindingSecurityMode) Initializes a new instance of the HttpBinding class with a specified security mode.

Top

Properties

  Name Description
Public property CloseTimeout (Inherited from Binding.)
Public property ConfigureTransportBindingElement Gets or sets the delegate which configures the HttpTransportBindingElement that this binding creates.
Public property EnvelopeVersion Gets the version of SOAP that is used for messages that are processed by this binding.
Public property HostNameComparisonMode Gets or sets a value that indicates whether the hostname is used to reach the service when matching the URI.
Public property 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.
Public property 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.
Public property MaxReceivedMessageSize Gets or sets the maximum size for a message that can be processed by the binding.
Public property MessageVersion (Inherited from Binding.)
Public property Name (Inherited from Binding.)
Public property Namespace (Inherited from Binding.)
Public property OpenTimeout (Inherited from Binding.)
Public property ReceiveTimeout (Inherited from Binding.)
Public property Scheme Gets the URI transport scheme for the channels and listeners that are configured with this binding. (Overrides Binding.Scheme.)
Public property Security Gets or sets the security settings used with this binding.
Public property SendTimeout (Inherited from Binding.)
Public property TransferMode Gets or sets a value that indicates whether messages are sent buffered or streamed.

Top

Methods

  Name Description
Public method BuildChannelFactory<TChannel>(Object[]) (Inherited from Binding.)
Public method BuildChannelFactory<TChannel>(BindingParameterCollection) (Inherited from Binding.)
Public method BuildChannelListener<TChannel>(Object[]) (Inherited from Binding.)
Public method BuildChannelListener<TChannel>(BindingParameterCollection) (Inherited from Binding.)
Public method BuildChannelListener<TChannel>(Uri, Object[]) (Inherited from Binding.)
Public method BuildChannelListener<TChannel>(Uri, BindingParameterCollection) (Inherited from Binding.)
Public method BuildChannelListener<TChannel>(Uri, String, Object[]) (Inherited from Binding.)
Public method BuildChannelListener<TChannel>(Uri, String, BindingParameterCollection) (Inherited from Binding.)
Public method BuildChannelListener<TChannel>(Uri, String, ListenUriMode, Object[]) (Inherited from Binding.)
Public method BuildChannelListener<TChannel>(Uri, String, ListenUriMode, BindingParameterCollection) (Inherited from Binding.)
Public method CanBuildChannelFactory<TChannel>(Object[]) (Inherited from Binding.)
Public method CanBuildChannelFactory<TChannel>(BindingParameterCollection) (Inherited from Binding.)
Public method CanBuildChannelListener<TChannel>(Object[]) (Inherited from Binding.)
Public method CanBuildChannelListener<TChannel>(BindingParameterCollection) (Inherited from Binding.)
Public method CreateBindingElements Creates a collection that contains the binding elements that are part of the current binding. (Overrides Binding.CreateBindingElements().)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetProperty<T> (Inherited from Binding.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ShouldSerializeName (Inherited from Binding.)
Public method ShouldSerializeNamespace (Inherited from Binding.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate property 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.

See Also

Reference

System.Web.Http.SelfHost.Channels Namespace