NetTcpRelayBindingElement NetTcpRelayBindingElement NetTcpRelayBindingElement 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
type NetTcpRelayBindingElement = class
    inherit StandardBindingElement
Public Class NetTcpRelayBindingElement
Inherits StandardBindingElement
Inheritance
NetTcpRelayBindingElementNetTcpRelayBindingElementNetTcpRelayBindingElement

Constructors

NetTcpRelayBindingElement() NetTcpRelayBindingElement() NetTcpRelayBindingElement()

Initializes a new instance of the NetTcpRelayBindingElement class.

NetTcpRelayBindingElement(String) NetTcpRelayBindingElement(String) NetTcpRelayBindingElement(String)

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

Properties

BindingElementType BindingElementType BindingElementType

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

ConnectionMode ConnectionMode ConnectionMode

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

IsDynamic IsDynamic IsDynamic

Gets or sets whether the relay binding is dynamic.

ListenBacklog ListenBacklog ListenBacklog

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.

MaxBufferPoolSize MaxBufferPoolSize MaxBufferPoolSize

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.

MaxBufferSize MaxBufferSize MaxBufferSize

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.

MaxConnections MaxConnections MaxConnections

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.

MaxReceivedMessageSize MaxReceivedMessageSize MaxReceivedMessageSize

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 Properties 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.)

ReaderQuotas ReaderQuotas ReaderQuotas

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.

ReliableSession ReliableSession ReliableSession

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

Security Security Security

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

TransferMode TransferMode TransferMode

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

Methods

InitializeFrom(Binding) InitializeFrom(Binding) InitializeFrom(Binding)

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

OnApplyConfiguration(Binding) OnApplyConfiguration(Binding) OnApplyConfiguration(Binding)

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

Applies to