Udostępnij za pośrednictwem


WebHttpRelayBindingElement Class

Definition

A binding element used to configure endpoints for an Azure Service Bus relay service that responds to HTTP requests instead of SOAP messages.

public class WebHttpRelayBindingElement : System.ServiceModel.Configuration.StandardBindingElement
type WebHttpRelayBindingElement = class
    inherit StandardBindingElement
Public Class WebHttpRelayBindingElement
Inherits StandardBindingElement
Inheritance
WebHttpRelayBindingElement

Constructors

WebHttpRelayBindingElement()

Initializes a new instance of the WebHttpRelayBindingElement class.

WebHttpRelayBindingElement(String)

Initializes a new instance of the WebHttpRelayBindingElement class using the specified name.

Properties

AllowCookies

Gets or sets a value that indicates whether the client accepts cookies and propagates them on future requests.

BindingElementType

Gets the type of binding that this configuration element represents.

IsDynamic

Gets or sets whether the binding element is dynamic.

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.

Properties

Gets a collection of objects that can be attributes or configuration element objects of this configuration element.

ProxyAddress

Gets or sets the URI address of the HTTP proxy.

ReaderQuotas

Gets or sets the configuration element that contains the constraints on the complexity of SOAP messages that can be processed by endpoints configured with this binding.

Security

Gets the configuration element that contains the security settings used with this binding.

TransferMode

Gets or sets a value that indicates whether the service configured with the associated binding uses streamed or buffered (or both) modes of message transfer.

UseDefaultWebProxy

Gets or sets a value that indicates whether the auto-configured HTTP proxy of the system should be used with the associated binding, if available.

WriteEncoding

Gets or sets the character encoding that is used for the message text in the associated binding.

Methods

InitializeFrom(Binding)

Initializes the contents of this binding configuration element from the property values of a specified binding.

OnApplyConfiguration(Binding)

Applies the settings of this configuration element to the specified binding.

Applies to