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