Net​Tcp​Relay​Binding​Element Class

Definition

A configuration element that describes a secure, reliable binding suitable for cross-machine communication through the Azure Service Bus relay.

public class NetTcpRelayBindingElement : System.ServiceModel.Configuration.StandardBindingElement
Inheritance
NetTcpRelayBindingElement

Constructors

Net​Tcp​Relay​Binding​Element()

Initializes a new instance of the NetTcpRelayBindingElement class.

Net​Tcp​Relay​Binding​Element(​String)

Initializes a new instance of the NetTcpRelayBindingElement class with a specified configuration name.

Properties

Binding​Element​Type

Gets the type of this configuration element. (Overrides StandardBindingElement.BindingElementType.)

Connection​Mode

Gets or sets the connection mode stored in the App.config file for this configuration.

Is​Dynamic

Gets or sets whether the relay binding is dynamic.

Listen​Backlog

Gets or sets a value in the App.config file that specifies the maximum number of channels that can wait to be accepted on the listener.

Max​Buffer​Pool​Size

Gets or sets a value from the App.config file that contains the maximum size for a buffer pool that stores TCP messages processed by the binding.

Max​Buffer​Size

Gets or sets a value from the App.config file that specifies the maximum size, in bytes, of the buffer used to store messages in memory.

Max​Connections

Gets or sets a value from the App.config file that specifies the maximum number of outbound and inbound connections the service creates and accepts respectively.

Max​Received​Message​Size

Gets or sets a value from the App.config file that contains the maximum size of a message that can be received on a channel configured with this binding.

Properties

Gets a ConfigurationPropertyCollection instance that contains a collection of ConfigurationProperty objects that can be attributes or ConfigurationElement objects of this configuration element. (Overrides StandardBindingElement.Properties.)

Reader​Quotas

Gets a value from the App.config file that puts constraints on the complexity of SOAP messages that can be processed by endpoints configured with this binding.

Reliable​Session

Gets a configuration element that specifies whether reliable sessions are established between channel endpoints.

Security

Gets a value from the App.config file that determines the type of security to be used with this binding.

Transfer​Mode

Gets or sets a value from the App.config file that specifies whether messages are buffered or streamed or a request or response.

Methods

Initialize​From(​Binding)

Initializes the contents of this binding configuration element from the property values of a specified binding.

On​Apply​Configuration(​Binding)

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