Class NetEventRelayBindingElement
- Namespace
- Microsoft.ServiceBus.Configuration
- Assembly
- Microsoft.ServiceBus.dll
A configuration element that describes configuration settings for the NetEventRelayBinding.
public class NetEventRelayBindingElement : StandardBindingElement
- Inheritance
-
NetEventRelayBindingElement
Constructors
NetEventRelayBindingElement()
Initializes a new instance of the NetEventRelayBindingElement class.
public NetEventRelayBindingElement()
NetEventRelayBindingElement(string)
Initializes a new instance of the NetEventRelayBindingElement class, using the specified name.
public NetEventRelayBindingElement(string name)
Parameters
name
stringThe binding name set in the configuration.
Properties
BindingElementType
Gets the type of binding that this configuration element represents.
protected override Type BindingElementType { get; }
Property Value
- Type
Returns a Type that contains the binding type, which is the type of NetEventRelayBinding.
ListenBacklog
Gets or sets 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 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 bytes.
MaxBufferSize
Gets or sets 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 the maximum number of connections to be pooled for subsequent reuse on the client and the maximum number of connections allowed to be pending dispatch on the server.
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 the maximum size for a received message that is processed by the binding.
public long MaxReceivedMessageSize { get; set; }
Property Value
- long
Returns the maximum size, in bytes, for a received message that is processed by the binding. The default value is 65,536 bytes.
Properties
Gets a collection that contains objects that can be attributes or configuration element objects of this binding configuration element.
protected override ConfigurationPropertyCollection Properties { get; }
Property Value
- ConfigurationPropertyCollection
Returns a System.Configuration.ConfigurationPropertyCollection instance that contains a collection of ConfigurationProperty objects that can be attributes or ConfigurationElement objects of this configuration element.
ReaderQuotas
Gets or sets an XML element that contains the constraints 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 a configuration element that contains the security options for an Azure Service Bus net event relay binding.
public NetOnewayRelaySecurityElement Security { get; }
Property Value
- NetOnewayRelaySecurityElement
Returns a NetOnewayRelaySecurityElement that describes the security options. The default is Transport.
Methods
InitializeFrom(Binding)
Initializes the contents of this XML configuration element from the property values of a specified binding.
protected override void InitializeFrom(Binding binding)
Parameters
binding
BindingThe binding to copy the settings from.
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.