Class NetOnewayRelayBindingElement
- Namespace
- Microsoft.ServiceBus.Configuration
- Assembly
- Microsoft.ServiceBus.dll
Represents a configuration element that specifies a binding for peer channel-specific TCP messaging over the Service Bus.
public class NetOnewayRelayBindingElement : StandardBindingElement
- Inheritance
-
NetOnewayRelayBindingElement
Constructors
NetOnewayRelayBindingElement()
Initializes a new instance of the NetOnewayRelayBindingElement class.
public NetOnewayRelayBindingElement()
NetOnewayRelayBindingElement(string)
Initializes a new instance of the NetOnewayRelayBindingElement class using the specified name.
public NetOnewayRelayBindingElement(string name)
Parameters
name
stringA name that uniquely identifies this configuration element.
Properties
BindingElementType
Gets or sets an XML value that contains the type of binding element of the current instance.
protected override Type BindingElementType { get; }
Property Value
ListenBacklog
Gets or sets an XML value that contains the maximum number of queued connection requests that can be pending.
public int ListenBacklog { get; set; }
Property Value
- int
Returns the maximum number of queued connection requests that can be pending. The default is 10.
MaxBufferPoolSize
Gets or sets an XML value that contains the maximum size allowed for a buffer pool that stores messages processed by the binding.
public long MaxBufferPoolSize { get; set; }
Property Value
- long
Returns the maximum size allowed for a buffer pool that stores messages processed by the binding. The default value is 65,536.
MaxBufferSize
Gets or sets an XML value that contains the maximum size, in bytes, of the buffer used to store messages in memory.
public int MaxBufferSize { get; set; }
Property Value
- int
Returns the maximum size, in bytes, of the buffer used to store messages in memory. The default value is 65,536 bytes.
MaxConnections
Gets or sets an XML value that specifies the maximum number of outbound and inbound connections the service creates and accepts respectively.
public int MaxConnections { get; set; }
Property Value
- int
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
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.
public long MaxReceivedMessageSize { get; set; }
Property Value
- long
Returns maximum size, in bytes, for a message that is processed by the binding. The default value is 65,536 bytes.
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; }
Property Value
- ConfigurationPropertyCollection
Returns a System.Configuration.ConfigurationPropertyCollection that contains a collection of ConfigurationProperty objects that can be attributes or ConfigurationElement objects of this configuration element.
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.
public XmlDictionaryReaderQuotasElement ReaderQuotas { get; }
Property Value
- XmlDictionaryReaderQuotasElement
Returns a XmlDictionaryReaderQuotasElement that specifies the complexity constraints on SOAP messages.
Security
Gets an XML value that contains security elements for a Service Bus one-way TCP relay binding.
public NetOnewayRelaySecurityElement Security { get; }
Property Value
- NetOnewayRelaySecurityElement
Returns a NetOnewayRelaySecurityElement that describes the security elements.
Methods
InitializeFrom(Binding)
Initializes the current instance using the content of the specified binding.
protected override void InitializeFrom(Binding binding)
Parameters
binding
BindingThe binding.
OnApplyConfiguration(Binding)
Applies the settings of this configuration element to the specified binding.
protected override void OnApplyConfiguration(Binding binding)
Parameters
binding
BindingThe binding to update the settings of.