WSHttpRelayBindingBase WSHttpRelayBindingBase Class

Provides the base class with members common to the WSHttpRelayBinding.

Syntax

Declaration

public abstract class WSHttpRelayBindingBase : Binding, IDefaultCommunicationTimeouts, IBindingRuntimePreferencesPublic MustInherit Class WSHttpRelayBindingBase
    Inherits Binding
    Implements IDefaultCommunicationTimeouts, IBindingRuntimePreferences

Inheritance Hierarchy

Inherited Members

System.ServiceModel.Channels.Binding

, , , , ,
BuildChannelListener(Uri, String, System.ServiceModel.Description.ListenUriMode, Object[])
BuildChannelListener(Of TChannel)(Uri, String, System.ServiceModel.Description.ListenUriMode, Object())
, , , ,
BuildChannelListener(Uri, String, System.ServiceModel.Description.ListenUriMode, BindingParameterCollection)
BuildChannelListener(Of TChannel)(Uri, String, System.ServiceModel.Description.ListenUriMode, BindingParameterCollection)
, , , , , , , , , , , ,

System.Object

, , , , , ,

Constructors summary

Initializes a new instance of the WSHttpRelayBindingBase class.

Initializes a new instance of the WSHttpRelayBindingBase class with a value that indicates whether a reliable session is enabled.

Properties summary

Gets the version of SOAP that is used for messages that are processed by this binding.

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

Gets or sets whether the relay binding is dynamic.

Gets or sets the maximum amount of memory allocated for the buffer manager that manages the buffers required by endpoints using this Azure Service Bus binding.

Gets or sets the maximum size for a message that can be processed by the Azure Service Bus binding.

Gets or sets whether MTOM or Text/XML is used to encode SOAP messages.

Gets or sets the URI address of the HTTP proxy.

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

Gets an object that provides convenient access to the properties of a reliable Azure Service Bus session binding element that are available when using one of the system-provided bindings.

Gets the URI transport scheme for the channels and listeners that are configured with this binding.

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

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

Methods summary

Returns an ordered collection of binding elements contained in the current Azure Service Bus binding.

When implemented in a derived class, returns the security binding element from the current Azure Service Bus binding.

When implemented in a derived class, returns the transport binding element from the current Azure Service Bus binding.

Explicit Interface Implementations summary

Constructors

  • WSHttpRelayBindingBase()
    WSHttpRelayBindingBase()

    Initializes a new instance of the WSHttpRelayBindingBase class.

    protected WSHttpRelayBindingBase()Protected Sub New
  • WSHttpRelayBindingBase(Boolean)
    WSHttpRelayBindingBase(Boolean)

    Initializes a new instance of the WSHttpRelayBindingBase class with a value that indicates whether a reliable session is enabled.

    protected WSHttpRelayBindingBase(bool reliableSessionEnabled)Protected Sub New(reliableSessionEnabled As Boolean)

    Parameters

    • reliableSessionEnabled

      true, if a reliable session is enabled; otherwise, false.

Properties

  • EnvelopeVersion
    EnvelopeVersion

    Gets the version of SOAP that is used for messages that are processed by this binding.

    public EnvelopeVersion EnvelopeVersion { get; }Public ReadOnly Property EnvelopeVersion As EnvelopeVersion

    Property Value

  • HostNameComparisonMode
    HostNameComparisonMode

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

    public HostNameComparisonMode HostNameComparisonMode { get; set; }Public Property HostNameComparisonMode As HostNameComparisonMode

    Property Value

  • IsDynamic
    IsDynamic

    Gets or sets whether the relay binding is dynamic.

    public bool IsDynamic { get; set; }Public Property IsDynamic As Boolean

    Property Value

    • true if the relay binding is dynamic; otherwise, false.

  • MaxBufferPoolSize
    MaxBufferPoolSize

    Gets or sets the maximum amount of memory allocated for the buffer manager that manages the buffers required by endpoints using this Azure Service Bus binding.

    public long MaxBufferPoolSize { get; set; }Public Property MaxBufferPoolSize As Long

    Property Value

    • Returns Int64.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
    MaxReceivedMessageSize

    Gets or sets the maximum size for a message that can be processed by the Azure Service Bus binding.

    public long MaxReceivedMessageSize { get; set; }Public Property MaxReceivedMessageSize As Long

    Property Value

    • Returns Int64.The maximum size, in bytes, for a message that is processed by the Azure Service Bus binding. The default value is 65,536 bytes.

  • MessageEncoding
    MessageEncoding

    Gets or sets whether MTOM or Text/XML is used to encode SOAP messages.

    public WSMessageEncoding MessageEncoding { get; set; }Public Property MessageEncoding As WSMessageEncoding

    Property Value

  • ProxyAddress
    ProxyAddress

    Gets or sets the URI address of the HTTP proxy.

    public Uri ProxyAddress { get; set; }Public Property ProxyAddress As Uri

    Property Value

    • Returns Uri.Serves as the address of the HTTP proxy. The default value is null.

  • ReaderQuotas
    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; }Public Property ReaderQuotas As XmlDictionaryReaderQuotas

    Property Value

  • ReliableSession
    ReliableSession

    Gets an object that provides convenient access to the properties of a reliable Azure Service Bus session binding element that are available when using one of the system-provided bindings.

    public OptionalReliableSession ReliableSession { get; }Public ReadOnly Property ReliableSession As OptionalReliableSession

    Property Value

  • Scheme
    Scheme

    Gets the URI transport scheme for the channels and listeners that are configured with this binding.

    public override string Scheme { get; }Public Overrides ReadOnly Property Scheme As String

    Property Value

    Overrides

  • TextEncoding
    TextEncoding

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

    public Encoding TextEncoding { get; set; }Public Property TextEncoding As Encoding

    Property Value

  • UseDefaultWebProxy
    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; }Public Property UseDefaultWebProxy As Boolean

    Property Value

    • true if the auto-configured HTTP proxy of the system should be used, if available; otherwise, false.

Methods

  • CreateBindingElements()
    CreateBindingElements()

    Returns an ordered collection of binding elements contained in the current Azure Service Bus binding.

    public override BindingElementCollection CreateBindingElements()Public Overrides Function CreateBindingElements As BindingElementCollection

    Returns

    Overrides

  • CreateMessageSecurity()
    CreateMessageSecurity()

    When implemented in a derived class, returns the security binding element from the current Azure Service Bus binding.

    protected abstract SecurityBindingElement CreateMessageSecurity()Protected MustOverride Function CreateMessageSecurity As SecurityBindingElement

    Returns

  • GetTransport()
    GetTransport()

    When implemented in a derived class, returns the transport binding element from the current Azure Service Bus binding.

    protected abstract TransportBindingElement GetTransport()Protected MustOverride Function GetTransport As TransportBindingElement

    Returns

Explicit Interface Implementations

  • IBindingRuntimePreferences.ReceiveSynchronously
    System.ServiceModel.Channels.IBindingRuntimePreferences.ReceiveSynchronously
    bool IBindingRuntimePreferences.ReceiveSynchronously { get; }ReadOnly WriteOnly Property System.ServiceModel.Channels.IBindingRuntimePreferences.ReceiveSynchronously As Boolean Implements IBindingRuntimePreferences.ReceiveSynchronously

    Returns

Details

Namespace

Microsoft.ServiceBus

Assembly

Microsoft.ServiceBus.dll