TcpServiceBusTransportElement Class

[This is prerelease documentation and is subject to change in future releases. Blank topics are included as placeholders.]

The TcpServiceBusTransportElement element is a configuration element that can be added as an extension to the WCF configuration model allowing for composition of a custom binding with the TcpServiceBusTransportBindingElement in a configuration file.

Namespace: Microsoft.ServiceBus.Configuration
Assembly: Microsoft.ServiceBus.Channels (in microsoft.servicebus.channels.dll)

Usage

    Dim instance As TcpServiceBusTransportElement

Syntax

'Declaration
Public NotInheritable Class TcpServiceBusTransportElement
    Inherits ServiceBusTransportElementBase
public sealed class TcpServiceBusTransportElement : ServiceBusTransportElementBase
public ref class TcpServiceBusTransportElement sealed : public ServiceBusTransportElementBase
public final class TcpServiceBusTransportElement extends ServiceBusTransportElementBase
public final class TcpServiceBusTransportElement extends ServiceBusTransportElementBase

Remarks

The element can be referenced in a configuration file in the following manner:

The element can be referenced in a configuration file in the following manner:
<system.serviceModel>
    <extensions>
      <bindingElementExtensions>
        <add name="tcpServiceBusTransport" 
             type="Microsoft.ServiceBus.Configuration.TcpServiceBusTransportElement, Microsoft.ServiceBus.Channels"/>
      </bindingElementExtensions>
    </extensions>
    …

Once the element is registered, it is available for composition in custom bindings, as follows.

    <bindings>
      <customBinding>
        <binding name="configuration name">
          <tcpServiceBusTransport/>
        </binding>
      </customBinding>
    </bindings>

Inheritance Hierarchy

System.Object
   System.Configuration.ConfigurationElement
     System.ServiceModel.Configuration.ServiceModelExtensionElement
       System.ServiceModel.Configuration.BindingElementExtensionElement
         System.ServiceModel.Configuration.TransportElement
           Microsoft.ServiceBus.Configuration.ServiceBusTransportElementBase
            Microsoft.ServiceBus.Configuration.TcpServiceBusTransportElement

Thread Safety

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

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Server 2008, and Windows 2000

Target Platforms

Change History

See Also

Reference

TcpServiceBusTransportElement Members
Microsoft.ServiceBus.Configuration Namespace