NetTcpRelayBindingElement Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
-
NetTcpRelayBindingElement
Constructors
NetTcpRelayBindingElement() |
Initializes a new instance of the NetTcpRelayBindingElement class. |
NetTcpRelayBindingElement(String) |
Initializes a new instance of the NetTcpRelayBindingElement class with a specified configuration name. |
Properties
BindingElementType |
Gets the type of this configuration element. (Overrides StandardBindingElement.BindingElementType.) |
ConnectionMode |
Obsolete.
Gets or sets the connection mode stored in the App.config file for this configuration. |
IsDynamic |
Gets or sets whether the relay binding is dynamic. |
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 |
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 |
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 |
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 |
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.) |
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 |
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. |
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) |
Initializes the contents of this binding configuration element from the property values of a specified binding. |
OnApplyConfiguration(Binding) |
Applies the settings of this configuration element to the specified binding element. |