TcpTransportBindingElement Class
Represents the binding element for the Transmission Control Protocol (TCP) transport.
System.ServiceModel.Channels.BindingElement
System.ServiceModel.Channels.TransportBindingElement
System.ServiceModel.Channels.ConnectionOrientedTransportBindingElement
System.ServiceModel.Channels.TcpTransportBindingElement
Namespace: System.ServiceModel.Channels
Assembly: System.ServiceModel.NetTcp (in System.ServiceModel.NetTcp.dll)
The TcpTransportBindingElement type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | TcpTransportBindingElement() | Initializes a new instance of the TcpTransportBindingElement class. |
![]() | TcpTransportBindingElement(TcpTransportBindingElement) | Initializes a new instance of the TcpTransportBindingElement class from an existing instance. |
| Name | Description | |
|---|---|---|
![]() | ConnectionBufferSize | Gets or sets the size of the buffer used to transmit a chunk of the serialized message on the wire from the client or service. (Inherited from ConnectionOrientedTransportBindingElement.) |
![]() | ConnectionPoolSettings | Gets a collection of connection pool settings. |
![]() | ManualAddressing | Gets or sets a value that indicates whether manual addressing of the message is required. (Inherited from TransportBindingElement.) |
![]() | MaxBufferSize | Gets or sets the maximum size of the buffer to use. (Inherited from ConnectionOrientedTransportBindingElement.) |
![]() | MaxReceivedMessageSize | Gets and sets the maximum allowable message size that can be received. (Inherited from TransportBindingElement.) |
![]() | Scheme | Returns the URI scheme for the transport. (Overrides TransportBindingElement.Scheme.) |
| Name | Description | |
|---|---|---|
![]() | BuildChannelFactory<TChannel> | Creates a channel factory that can be used to create a channel. (Overrides BindingElement.BuildChannelFactory<TChannel>(BindingContext).) |
![]() | CanBuildChannelFactory<TChannel> | Determines whether a channel factory of the specified type can be built. (Inherited from ConnectionOrientedTransportBindingElement.) |
![]() | Clone | Creates a copy of the current binding element. (Overrides BindingElement.Clone().) |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetProperty<T> | Gets a property from the specified BindingContext. (Inherited from TransportBindingElement.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
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 communication with Windows Communication Foundation (WCF) services. The Silverlight 5 programming model uses this class to create factory objects that implement the IChannelFactory interface. These factory objects, in turn, create the channels that transmit SOAP messages using the TCP protocol. You configure the factories that this class creates by setting its properties, such as ConnectionPoolSettings and LeaseTimeout.
You can also set properties on the base class ConnectionOrientedTransportBindingElement, such as MaxBufferSize, and ConnectionBufferSize.
Finally, you can set properties on the base class TransportBindingElement, such as ManualAddressing and MaxReceivedMessageSize.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.


