Class WSHttpRelayBindingBase
- Namespace
- Microsoft.ServiceBus
- Assembly
- Microsoft.ServiceBus.dll
Provides the base class with members common to the WSHttpRelayBinding and the Microsoft.ServiceBus.WS2007FederationHttpRelayBinding.
public abstract class WSHttpRelayBindingBase : Binding, IBindingRuntimePreferences
- Inheritance
-
WSHttpRelayBindingBase
- Implements
-
IBindingRuntimePreferences
- Derived
Constructors
WSHttpRelayBindingBase()
Initializes a new instance of the WSHttpRelayBindingBase class.
protected WSHttpRelayBindingBase()
WSHttpRelayBindingBase(bool)
Initializes a new instance of the WSHttpRelayBindingBase class with a value that indicates whether a reliable session is enabled.
protected WSHttpRelayBindingBase(bool reliableSessionEnabled)
Parameters
reliableSessionEnabled
booltrue, if a reliable session is enabled; otherwise, false.
Properties
EnvelopeVersion
Gets the version of SOAP that is used for messages that are processed by this binding.
public EnvelopeVersion EnvelopeVersion { get; }
Property Value
- EnvelopeVersion
Returns System.ServiceModel.EnvelopeVersion.The value of the envelope version that is used with this Windows Azure Service Bus binding. The value is always SOAP 1.2.
HostNameComparisonMode
Gets or sets the comparison mode used on the host name.
public HostNameComparisonMode HostNameComparisonMode { get; set; }
Property Value
- HostNameComparisonMode
The comparison mode used on the host name.
IsDynamic
Gets or sets whether the relay binding is dynamic.
public bool IsDynamic { get; set; }
Property Value
- bool
true if the relay binding is dynamic; otherwise, false.
MaxBufferPoolSize
Gets or sets the maximum amount of memory allocated for the buffer manager that manages the buffers required by endpoints using this Windows Azure Service Bus binding.
public long MaxBufferPoolSize { get; set; }
Property Value
- long
Returns long.The maximum size, in bytes, for the pool of buffers used by an endpoint configured with this binding. The default value is 65,536 bytes.
MaxReceivedMessageSize
Gets or sets the maximum size for a message that can be processed by the Windows Azure Service Bus binding.
public long MaxReceivedMessageSize { get; set; }
Property Value
- long
Returns long.The maximum size, in bytes, for a message that is processed by the Windows Azure Service Bus binding. The default value is 65,536 bytes.
MessageEncoding
Gets or sets whether MTOM or Text/XML is used to encode SOAP messages.
public WSMessageEncoding MessageEncoding { get; set; }
Property Value
- WSMessageEncoding
Returns System.ServiceModel.WSMessageEncoding.Indicates whether MTOM or Text/XML is used to encode SOAP messages. The default value is Text/XML.
ProxyAddress
Gets or sets the URI address of the HTTP proxy.
public Uri ProxyAddress { get; set; }
Property Value
- Uri
Returns System.Uri.Serves as the address of the HTTP proxy. The default value is null.
ReaderQuotas
Gets or sets constraints on the complexity of SOAP messages that can be processed by endpoints configured with this Security Bus binding.
public XmlDictionaryReaderQuotas ReaderQuotas { get; set; }
Property Value
- XmlDictionaryReaderQuotas
Returns System.Xml.XmlDictionaryReaderQuotas.Specifies the complexity constraints.
ReliableSession
Gets an object that provides convenient access to the properties of a reliable Windows Azure Service Bus session binding element that are available when using one of the system-provided bindings.
public OptionalReliableSession ReliableSession { get; }
Property Value
- OptionalReliableSession
Returns System.ServiceModel.OptionalReliableSession.Provides convenient access to the properties of a reliable Windows Azure Service Bus session binding element that are available when using one of the system-provided bindings.
Scheme
Gets the URI transport scheme for the channels and listeners that are configured with this binding.
public override string Scheme { get; }
Property Value
TextEncoding
Gets or sets the character encoding that is used for the message text.
public Encoding TextEncoding { get; set; }
Property Value
- Encoding
The character encoding that is used for the message text.
UseDefaultWebProxy
Gets or sets a value that indicates whether the auto-configured HTTP proxy of the system should be used, if available.
public bool UseDefaultWebProxy { get; set; }
Property Value
- bool
true if the auto-configured HTTP proxy of the system should be used, if available; otherwise, false.
Methods
CreateBindingElements()
Returns an ordered collection of binding elements contained in the current Windows Azure Service Bus binding.
public override BindingElementCollection CreateBindingElements()
Returns
- BindingElementCollection
Returns System.ServiceModel.Channels.BindingElementCollection.Contains the objects for the binding.
CreateMessageSecurity()
When implemented in a derived class, returns the security binding element from the current Windows Azure Service Bus binding.
protected abstract SecurityBindingElement CreateMessageSecurity()
Returns
- SecurityBindingElement
Returns System.ServiceModel.Channels.SecurityBindingElement.Contains the security binding element from the current Windows Azure Service Bus binding.
GetTransport()
When implemented in a derived class, returns the transport binding element from the current Windows Azure Service Bus binding.
protected abstract TransportBindingElement GetTransport()
Returns
- TransportBindingElement
Returns System.ServiceModel.Channels.TransportBindingElement.Contains the transport binding element from the current Windows Azure Service Bus binding.