NetOnewayRelayBindingElement NetOnewayRelayBindingElement Class

Represents a configuration element that specifies a binding for peer channel-specific TCP messaging over the Service Bus.

Syntax

Declaration

public class NetOnewayRelayBindingElement : StandardBindingElement, IBindingConfigurationElement, IConfigurationContextProviderInternalPublic Class NetOnewayRelayBindingElement
    Inherits StandardBindingElement
    Implements IBindingConfigurationElement, IConfigurationContextProviderInternal

Inheritance Hierarchy

Inherited Members

, , , , , , , , , , , , , , , ,
Init()
Init()
,
Init()
Init()
, , , , , , , , , , , , , , , , , , ,
Unmerge(ConfigurationElement, ConfigurationElement, System.Configuration.ConfigurationSaveMode)
Unmerge(ConfigurationElement, ConfigurationElement, System.Configuration.ConfigurationSaveMode)
,
Unmerge(ConfigurationElement, ConfigurationElement, System.Configuration.ConfigurationSaveMode)
Unmerge(ConfigurationElement, ConfigurationElement, System.Configuration.ConfigurationSaveMode)
, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Constructors summary

Initializes a new instance of the NetOnewayRelayBindingElement class.

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

Properties summary

Gets or sets an XML value that contains the type of binding element of the current instance.

Gets or sets an XML value that contains the maximum number of queued connection requests that can be pending.

Gets or sets an XML value that contains the maximum size allowed for a buffer pool that stores messages processed by the binding.

Gets or sets an XML value that contains the maximum size, in bytes, of the buffer used to store messages in memory.

Gets or sets an XML value that specifies the maximum number of outbound and inbound connections the service creates and accepts respectively.

Gets or sets an XML value that contains the maximum size of a message that can be received on a channel configured with this binding.

Gets a ConfigurationPropertyCollection instance that contains a collection of ConfigurationProperty objects that can be attributes or ConfigurationElement objects of this configuration element.

Gets or sets an XML value that places a constraint on the complexity of SOAP messages that can be processed by endpoints configured with this binding.

Gets an XML value that contains security elements for a Service Bus one-way TCP relay binding.

Methods summary

Initializes the current instance using the content of the specified binding.

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

Constructors

  • NetOnewayRelayBindingElement()
    NetOnewayRelayBindingElement()

    Initializes a new instance of the NetOnewayRelayBindingElement class.

    public NetOnewayRelayBindingElement()Public Sub New
  • NetOnewayRelayBindingElement(String)
    NetOnewayRelayBindingElement(String)

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

    public NetOnewayRelayBindingElement(string name)Public Sub New(name As String)

    Parameters

    • name

      A name that uniquely identifies this configuration element.

Properties

  • BindingElementType
    BindingElementType

    Gets or sets an XML value that contains the type of binding element of the current instance.

    protected override Type BindingElementType { get; }Protected Overrides ReadOnly Property BindingElementType As Type

    Property Value

    • Returns a Type that contains the type of the current instance.

  • ListenBacklog
    ListenBacklog

    Gets or sets an XML value that contains the maximum number of queued connection requests that can be pending.

    [ConfigurationProperty("listenBacklog", DefaultValue = 10)]
    [IntegerValidator(MinValue = 1)]
    public int ListenBacklog { get; set; }<ConfigurationProperty("listenBacklog", DefaultValue:=10)>
    <IntegerValidator(MinValue:=1)>
    Public Property ListenBacklog As Integer

    Property Value

    • Returns the maximum number of queued connection requests that can be pending. The default is 10.

  • MaxBufferPoolSize
    MaxBufferPoolSize

    Gets or sets an XML value that contains the maximum size allowed for a buffer pool that stores messages processed by the binding.

    [ConfigurationProperty("maxBufferPoolSize", DefaultValue = 524288L)]
    [LongValidator(MinValue = 0L)]
    public long MaxBufferPoolSize { get; set; }<ConfigurationProperty("maxBufferPoolSize", DefaultValue:=524288L)>
    <LongValidator(MinValue:=0L)>
    Public Property MaxBufferPoolSize As Long

    Property Value

    • Returns the maximum size allowed for a buffer pool that stores messages processed by the binding. The default value is 65,536.

  • MaxBufferSize
    MaxBufferSize

    Gets or sets an XML value that contains the maximum size, in bytes, of the buffer used to store messages in memory.

    [ConfigurationProperty("maxBufferSize", DefaultValue = 65536)]
    [IntegerValidator(MinValue = 1)]
    public int MaxBufferSize { get; set; }<ConfigurationProperty("maxBufferSize", DefaultValue:=65536)>
    <IntegerValidator(MinValue:=1)>
    Public Property MaxBufferSize As Integer

    Property Value

    • Returns the maximum size, in bytes, of the buffer used to store messages in memory. The default value is 65,536 bytes.

  • MaxConnections
    MaxConnections

    Gets or sets an XML value that specifies the maximum number of outbound and inbound connections the service creates and accepts respectively.

    [ConfigurationProperty("maxConnections", DefaultValue = 10)]
    [IntegerValidator(MinValue = 1)]
    public int MaxConnections { get; set; }<ConfigurationProperty("maxConnections", DefaultValue:=10)>
    <IntegerValidator(MinValue:=1)>
    Public Property MaxConnections As Integer

    Property Value

    • On the client, returns the maximum number of connections to be pooled for subsequent reuse; on the server, returns the maximum number of connections allowed to be pending dispatch.

  • MaxReceivedMessageSize
    MaxReceivedMessageSize

    Gets or sets an XML value that contains the maximum size of a message that can be received on a channel configured with this binding.

    [ConfigurationProperty("maxReceivedMessageSize", DefaultValue = 65536L)]
    [LongValidator(MinValue = 1L)]
    public long MaxReceivedMessageSize { get; set; }<ConfigurationProperty("maxReceivedMessageSize", DefaultValue:=65536L)>
    <LongValidator(MinValue:=1L)>
    Public Property MaxReceivedMessageSize As Long

    Property Value

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

  • Properties
    Properties

    Gets a ConfigurationPropertyCollection instance that contains a collection of ConfigurationProperty objects that can be attributes or ConfigurationElement objects of this configuration element.

    protected override ConfigurationPropertyCollection Properties { get; }Protected Overrides ReadOnly Property Properties As ConfigurationPropertyCollection

    Property Value

  • ReaderQuotas
    ReaderQuotas

    Gets or sets an XML value that places a constraint on the complexity of SOAP messages that can be processed by endpoints configured with this binding.

    [ConfigurationProperty("readerQuotas")]
    public XmlDictionaryReaderQuotasElement ReaderQuotas { get; }<ConfigurationProperty("readerQuotas")>
    Public ReadOnly Property ReaderQuotas As XmlDictionaryReaderQuotasElement

    Property Value

  • Security
    Security

    Gets an XML value that contains security elements for a Service Bus one-way TCP relay binding.

    [ConfigurationProperty("security")]
    public NetOnewayRelaySecurityElement Security { get; }<ConfigurationProperty("security")>
    Public ReadOnly Property Security As NetOnewayRelaySecurityElement

    Property Value

Methods

  • InitializeFrom(Binding)
    InitializeFrom(Binding)

    Initializes the current instance using the content of the specified binding.

    protected override void InitializeFrom(Binding binding)Protected Overrides Sub InitializeFrom(binding As Binding)

    Parameters

  • OnApplyConfiguration(Binding)
    OnApplyConfiguration(Binding)

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

    protected override void OnApplyConfiguration(Binding binding)Protected Overrides Sub OnApplyConfiguration(binding As Binding)

    Parameters

Details

Assembly

Microsoft.ServiceBus.dll