Export (0) Print
Expand All

TcpRelayTransportElement Class

Specifies a configuration element that causes a channel to transfer messages on the TCP transport when it is included in a custom binding. This class cannot be inherited.

Namespace:  Microsoft.ServiceBus.Configuration
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public sealed class TcpRelayTransportElement : ConnectionOrientedTransportElement

The TcpRelayTransportElement type exposes the following members.

Public methodTcpRelayTransportElementInitializes a new instance of the TcpRelayTransportElement class.

Public propertyBindingElementTypeGets the type of this binding element. (Overrides BindingElementExtensionElement.BindingElementType.)
Public propertyChannelInitializationTimeoutGets or sets the maximum time the channel can be in the initialization status before being disconnected. (Inherited from ConnectionOrientedTransportElement.)
Public propertyConfigurationElementName (Inherited from ServiceModelExtensionElement.)
Public propertyConnectionBufferSizeGets or sets the size of the buffer used to transmit a part of the serialized message on the wire from the client or service. (Inherited from ConnectionOrientedTransportElement.)
Public propertyConnectionModeGets or sets the connection mode stored in the App.config file for this configuration.
Public propertyConnectionPoolSettingsGets or sets an XML value that describes the connection pool settings for the current instance.
Public propertyCurrentConfiguration (Inherited from ConfigurationElement.)
Public propertyElementInformation (Inherited from ConfigurationElement.)
Protected propertyElementProperty (Inherited from ConfigurationElement.)
Public propertyHostNameComparisonModeGets or sets a value that indicates whether the hostname is used to reach the service when matching on the URI. (Inherited from ConnectionOrientedTransportElement.)
Public propertyIsDynamicGets or sets whether the relay binding is dynamic.
Protected propertyItem[ConfigurationProperty] (Inherited from ConfigurationElement.)
Protected propertyItem[String] (Inherited from ConfigurationElement.)
Public propertyListenBacklogGets or sets an XML value containing the maximum number of queued connection requests that can be pending.
Public propertyLockAllAttributesExcept (Inherited from ConfigurationElement.)
Public propertyLockAllElementsExcept (Inherited from ConfigurationElement.)
Public propertyLockAttributes (Inherited from ConfigurationElement.)
Public propertyLockElements (Inherited from ConfigurationElement.)
Public propertyLockItem (Inherited from ConfigurationElement.)
Public propertyManualAddressing (Inherited from TransportElement.)
Public propertyMaxBufferPoolSize (Inherited from TransportElement.)
Public propertyMaxBufferSizeGets or sets the maximum size of the buffer to use. (Inherited from ConnectionOrientedTransportElement.)
Public propertyMaxOutputDelayGets or sets the maximum interval of time that a part of a message or a full message can remain buffered in memory before being sent out. (Inherited from ConnectionOrientedTransportElement.)
Public propertyMaxPendingAcceptsGets or sets the maximum number of pending asynchronous accept threads that are available for processing incoming connections on the service. (Inherited from ConnectionOrientedTransportElement.)
Public propertyMaxPendingConnectionsGets or sets the maximum number of pending connections. (Inherited from ConnectionOrientedTransportElement.)
Public propertyMaxReceivedMessageSize (Inherited from TransportElement.)
Protected propertyProperties (Inherited from ConfigurationElement.)
Public propertyRelayClientAuthenticationTypeGets or sets an XML value that contains the relay client authentication type.
Public propertyTransferModeGets or sets a value that specifies whether the messages are buffered or streamed with the connection-oriented transport. (Inherited from ConnectionOrientedTransportElement.)

Public methodApplyConfigurationApplies the settings of this configuration element to the specified binding element. (Overrides ConnectionOrientedTransportElement.ApplyConfiguration(BindingElement).)
Public methodCopyFromCopies the content of the specified configuration element to this configuration element. (Overrides ConnectionOrientedTransportElement.CopyFrom(ServiceModelExtensionElement).)
Protected methodCreateBindingElement (Inherited from TransportElement.)
Protected methodDeserializeElement (Inherited from ConfigurationElement.)
Public methodEquals (Inherited from ConfigurationElement.)
Public methodGetHashCode (Inherited from ConfigurationElement.)
Public methodGetType (Inherited from Object.)
Protected methodInit (Inherited from ConfigurationElement.)
Protected methodInitializeDefault (Inherited from ConfigurationElement.)
Protected methodInitializeFrom (Inherited from TransportElement.)
Protected methodIsModified (Inherited from ConfigurationElement.)
Public methodIsReadOnly (Inherited from ConfigurationElement.)
Protected methodReset (Inherited from ConfigurationElement.)
Protected methodResetModified (Inherited from ConfigurationElement.)
Protected methodSerializeElement (Inherited from ConfigurationElement.)
Protected methodSerializeToXmlElement (Inherited from ConfigurationElement.)
Protected methodSetReadOnly (Inherited from ConfigurationElement.)
Public methodToString (Inherited from Object.)
Protected methodUnmerge (Inherited from ConfigurationElement.)

Windows Azure Service Bus supports only Full Trust code access security.

TcpRelayTransportElement is a configuration element for specifying a TCP relay binding in a configuration file. This type exists primarily in order to allow Windows Azure Service Bus to read that information from the configuration file, and as such will not likely be used in most scenarios. However, you can use this type when creating custom bindings. The programmatic analog is TcpRelayTransportBindingElement. For more information, see Configuring an AppFabric Service Bus Application and Creating a Custom AppFabric Service Bus Binding.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

© 2015 Microsoft