TcpTransportBindingElement Class
Represents the binding element for the TCP transport.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
This transport uses URIs of the form "net.tcp://hostname:port/path". Other URI components are optional.
The TcpTransportBindingElement class is the starting point for creating a custom binding that implements the TCP transport protocol. This transport is optimized for WCF-to-WCF communication.
The WCF service model uses this class to create factory objects that implement the IChannelFactory and IChannelListener interfaces. These factory objects, in turn, create and accept the channels that transmit SOAP messages using the TCP protocol.
You configure the factories that this class creates by setting its properties, such as PortSharingEnabled and LeaseTimeout.
You can also set properties on the base class ConnectionOrientedTransportBindingElement, such as MaxBufferSize, TransferMode, and ConnectionBufferSize. For a complete list of properties, see ConnectionOrientedTransportBindingElement.
Finally, you can set properties on the base class TransportBindingElement, such as ManualAddressing and MaxBufferPoolSize. For a complete list of properties, see TransportBindingElement.
System.ServiceModel.Channels.BindingElement
System.ServiceModel.Channels.TransportBindingElement
System.ServiceModel.Channels.ConnectionOrientedTransportBindingElement
System.ServiceModel.Channels.TcpTransportBindingElement
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.