Web​Http​Relay​Binding 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
Inheritance
WebHttpRelayBinding
Implements

Constructors

Web​Http​Relay​Binding()

Initializes a new instance of the WebHttpRelayBinding class.

Web​Http​Relay​Binding(​String)

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

Web​Http​Relay​Binding(​End​To​End​Web​Http​Security​Mode, ​Relay​Client​Authentication​Type)

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

Properties

Allow​Cookies

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

Content​Type​Mapper

Gets or sets the content type mapper.

Envelope​Version

Gets the SOAP envelope version.

Host​Name​Comparison​Mode

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

Is​Dynamic

Gets or sets whether the relay binding is dynamic.

Max​Buffer​Pool​Size

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

Max​Buffer​Size

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

Max​Received​Message​Size

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

Proxy​Address

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

Reader​Quotas

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.

Transfer​Mode

Gets or sets the transfer mode.

Use​Default​Web​Proxy

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

Write​Encoding

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

Methods

Create​Binding​Elements()

Creates a collection with the binding elements for the binding.

Explicit Interface Implementations

I​Binding​Runtime​Preferences.​Receive​Synchronously