Delen via


WebHttpRelayBinding Class

Definition

A binding used to configure endpoints for Web services that are exposed through HTTP requests instead of SOAP messages.

public class WebHttpRelayBinding : System.ServiceModel.Channels.Binding, System.ServiceModel.Channels.IBindingRuntimePreferences
type WebHttpRelayBinding = class
    inherit Binding
    interface IBindingRuntimePreferences
Public Class WebHttpRelayBinding
Inherits Binding
Implements IBindingRuntimePreferences
Inheritance
WebHttpRelayBinding
Implements

Constructors

WebHttpRelayBinding()

Initializes a new instance of the WebHttpRelayBinding class.

WebHttpRelayBinding(EndToEndWebHttpSecurityMode, RelayClientAuthenticationType)

Initializes a new instance of the WebHttpRelayBinding class using the specified type of security and relay client authentication.

WebHttpRelayBinding(String)

Initializes a new instance of the WebHttpRelayBinding class using the specified configuration name.

Properties

AllowCookies

Gets or sets a value that specifies whether cookies are allowed in the messages sent via the WebHttpRelayBinding.

ContentTypeMapper

Gets or sets the content type mapper.

EnvelopeVersion

Gets the SOAP envelope version.

HostNameComparisonMode

Gets or sets the comparison mode used on the host name.

IsDynamic

Gets or sets whether the relay binding is dynamic.

MaxBufferPoolSize

Gets or sets the maximum buffer pool size used by the transport.

MaxBufferSize

Gets or sets the maximum buffer size supported by the transport.

MaxReceivedMessageSize

Gets or sets the maximum allowable message size that can be received.

ProxyAddress

Gets or sets a URI that contains the address of the proxy to use for HTTP requests.

ReaderQuotas

Gets or sets xml reader quotas on the messages processed.

Scheme

Gets the scheme for the endpoints used with the binding.

Security

Gets the security settings for the current instance.

TransferMode

Gets or sets the transfer mode.

UseDefaultWebProxy

Gets or sets a value that indicates whether the machine-wide proxy settings are used rather than the user specific settings.

WriteEncoding

Gets or sets the character encoding that is used to write the message text.

Methods

CreateBindingElements()

Creates a collection with the binding elements for the binding.

Explicit Interface Implementations

IBindingRuntimePreferences.ReceiveSynchronously

Indicates that incoming requests are handled asynchronously.

Applies to