Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HttpBinding Class

A binding used with endpoints for web services that use strongly-type HTTP request and response messages.

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)
public class HttpBinding : Binding, 
	IBindingRuntimePreferences

The HttpBinding type exposes the following members.

  NameDescription
Public methodHttpBinding()Initializes a new instance of the HttpBinding class.
Public methodHttpBinding(HttpBindingSecurityMode)Initializes a new instance of the HttpBinding class with a specified security mode.
Top
  NameDescription
Public propertyCloseTimeout (Inherited from Binding.)
Public propertyConfigureTransportBindingElement Gets or sets the delegate which configures the HttpTransportBindingElement that this binding creates.
Public propertyEnvelopeVersionGets the version of SOAP that is used for messages that are processed by this binding.
Public propertyHostNameComparisonModeGets or sets a value that indicates whether the hostname is used to reach the service when matching the URI.
Public propertyMaxBufferPoolSizeGets or sets the maximum amount of memory allocated for the buffer manager that manages the buffers required by endpoints that use this binding.
Public propertyMaxBufferSizeGets 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 propertyMaxReceivedMessageSizeGets or sets the maximum size for a message that can be processed by the binding.
Public propertyMessageVersion (Inherited from Binding.)
Public propertyName (Inherited from Binding.)
Public propertyNamespace (Inherited from Binding.)
Public propertyOpenTimeout (Inherited from Binding.)
Public propertyReceiveTimeout (Inherited from Binding.)
Public propertySchemeGets the URI transport scheme for the channels and listeners that are configured with this binding. (Overrides Binding.Scheme.)
Public propertySecurityGets or sets the security settings used with this binding.
Public propertySendTimeout (Inherited from Binding.)
Public propertyTransferModeGets or sets a value that indicates whether messages are sent buffered or streamed.
Top
  NameDescription
Public methodBuildChannelFactory<TChannel>(Object[]) (Inherited from Binding.)
Public methodBuildChannelFactory<TChannel>(BindingParameterCollection) (Inherited from Binding.)
Public methodBuildChannelListener<TChannel>(Object[]) (Inherited from Binding.)
Public methodBuildChannelListener<TChannel>(BindingParameterCollection) (Inherited from Binding.)
Public methodBuildChannelListener<TChannel>(Uri, Object[]) (Inherited from Binding.)
Public methodBuildChannelListener<TChannel>(Uri, BindingParameterCollection) (Inherited from Binding.)
Public methodBuildChannelListener<TChannel>(Uri, String, Object[]) (Inherited from Binding.)
Public methodBuildChannelListener<TChannel>(Uri, String, BindingParameterCollection) (Inherited from Binding.)
Public methodBuildChannelListener<TChannel>(Uri, String, ListenUriMode, Object[]) (Inherited from Binding.)
Public methodBuildChannelListener<TChannel>(Uri, String, ListenUriMode, BindingParameterCollection) (Inherited from Binding.)
Public methodCanBuildChannelFactory<TChannel>(Object[]) (Inherited from Binding.)
Public methodCanBuildChannelFactory<TChannel>(BindingParameterCollection) (Inherited from Binding.)
Public methodCanBuildChannelListener<TChannel>(Object[]) (Inherited from Binding.)
Public methodCanBuildChannelListener<TChannel>(BindingParameterCollection) (Inherited from Binding.)
Public methodCreateBindingElementsCreates a collection that contains the binding elements that are part of the current binding. (Overrides Binding.CreateBindingElements().)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetProperty<T> (Inherited from Binding.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodShouldSerializeName (Inherited from Binding.)
Public methodShouldSerializeNamespace (Inherited from Binding.)
Public methodToString (Inherited from Object.)
Top
  NameDescription
Explicit interface implemetationPrivate propertyIBindingRuntimePreferences.ReceiveSynchronouslyGets a value that indicates whether incoming requests are handled synchronously or asynchronously.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft. All rights reserved.