SALES: 1-800-867-1380

NetTcpRelaySecurityElement Class

Represents a configuration element that configures the security for a net TCP service through the Windows Azure Service Bus relay.

System.Object
  System.Configuration.ConfigurationElement
    Microsoft.ServiceBus.Configuration.NetTcpRelaySecurityElement

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

'Declaration
Public NotInheritable Class NetTcpRelaySecurityElement _
	Inherits ConfigurationElement
'Usage
Dim instance As NetTcpRelaySecurityElement

The NetTcpRelaySecurityElement type exposes the following members.

  NameDescription
Public methodNetTcpRelaySecurityElementInitializes a new instance of the NetTcpRelaySecurityElement class.
Top

  NameDescription
Public propertyCurrentConfiguration (Inherited from ConfigurationElement.)
Public propertyElementInformation (Inherited from ConfigurationElement.)
Protected propertyElementProperty (Inherited from ConfigurationElement.)
Protected propertyItem(ConfigurationProperty) (Inherited from ConfigurationElement.)
Protected propertyItem(String) (Inherited from ConfigurationElement.)
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 propertyMessageGets a configuration element that represents the message security settings for the NetTcpRelayBinding.
Public propertyModeGets or sets an XML value that describes whether message-level or transport-level security is used by an endpoint configured with NetTcpRelayBinding.
Protected propertyProperties (Inherited from ConfigurationElement.)
Public propertyRelayClientAuthenticationTypeGets or sets the authentication type required for the client to present to the Windows Azure Service Bus when sending messages.
Public propertyTransportGets the transport security setting for the NetTcpRelayBinding.
Top

  NameDescription
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 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.)
Top

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

NetTcpRelaySecurityElement represents a configuration element for specifying security settings in configuration files. The programmatic analog is NetTcpRelaySecurity. Therefore, you will not likely directly use this type, but instead use it indirectly whenever you configure a binding in an App.config file. For more information on setting Windows Azure Service Bus configuration values, see Configuring an AppFabric Service Bus Application.

Instead, the main scenario for directly using types in the Microsoft.ServiceBus.Configuration namespace is if you wish to create your own custom binding. For more information on custom bindings, see 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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft