Export (0) Print
Expand All

NetTcpRelayBindingCollectionElement Class

Represents a configuration section that holds a collection of NetTcpRelayBindingElement instances.

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

public class NetTcpRelayBindingCollectionElement : StandardBindingCollectionElement<NetTcpRelayBinding, NetTcpRelayBindingElement>

The NetTcpRelayBindingCollectionElement type exposes the following members.

  NameDescription
Public methodNetTcpRelayBindingCollectionElementInitializes a new instance of the NetTcpRelayBindingCollectionElement class.
Top

  NameDescription
Public methodContainsKey (Inherited from StandardBindingCollectionElement<NetTcpRelayBinding, NetTcpRelayBindingElement>.)
Protected methodDeserializeElement (Inherited from ConfigurationElement.)
Public methodEquals (Inherited from ConfigurationElement.)
Protected methodFinalize (Inherited from Object.)
Protected methodGetDefault (Inherited from StandardBindingCollectionElement<NetTcpRelayBinding, NetTcpRelayBindingElement>.)
Public methodGetHashCode (Inherited from ConfigurationElement.)
Protected methodGetTransformedAssemblyString (Inherited from ConfigurationElement.)
Protected methodGetTransformedTypeString (Inherited from ConfigurationElement.)
Public methodGetType (Inherited from Object.)
Protected methodInit (Inherited from ConfigurationElement.)
Protected methodInitializeDefault (Inherited from ConfigurationElement.)
Protected methodIsModified (Inherited from ConfigurationElement.)
Public methodIsReadOnly (Inherited from ConfigurationElement.)
Protected methodListErrors (Inherited from ConfigurationElement.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnDeserializeUnrecognizedAttribute (Inherited from ConfigurationElement.)
Protected methodOnDeserializeUnrecognizedElement (Inherited from ConfigurationElement.)
Protected methodOnRequiredPropertyNotFound (Inherited from ConfigurationElement.)
Protected methodPostDeserialize (Inherited from ConfigurationElement.)
Protected methodPreSerialize (Inherited from ConfigurationElement.)
Protected methodReset (Inherited from ConfigurationElement.)
Protected methodResetModified (Inherited from ConfigurationElement.)
Protected methodSerializeElement (Inherited from ConfigurationElement.)
Protected methodSerializeToXmlElement (Inherited from ConfigurationElement.)
Protected methodSetPropertyValue (Inherited from ConfigurationElement.)
Protected methodSetReadOnly (Inherited from ConfigurationElement.)
Public methodToString (Inherited from Object.)
Protected methodTryAdd (Inherited from StandardBindingCollectionElement<NetTcpRelayBinding, NetTcpRelayBindingElement>.)
Protected methodUnmerge (Inherited from ConfigurationElement.)
Top

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

You can choose to configure a NetTcpRelayBinding either programmatically, or else in your App.config file. You may also choose to have multiple configurations for different endpoints. When Windows Azure Service Bus reads through your App.config file, it uses NetTcpRelayBindingCollectionElement to collect those individual binding configurations and apply them into their respective endpoints.

Therefore, you will likely not use NetTcpRelayBindingCollectionElement in most scenarios. Instead, Windows Azure Service Bus will use this type indirectly if you ever create multiple bindings in your App.config file.

However, if you choose to create a custom binding, you may wish to store your custom binding elements in your App.config file as well. If you based your custom binding off of NetTcpRelayBinding, you may need to modify this type in order to allow other users to use the App.config file to configure your binding. For more information about custom bindings, see Creating a Custom AppFabric Service Bus Binding. For more information on configuring an Windows Azure Service Bus binding, see Configuring an AppFabric Service Bus Application.

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

ADD
Show:
© 2014 Microsoft