TcpTransportBindingElement Class
Represents the binding element for the TCP transport.
System.ServiceModel.Channels::BindingElement
System.ServiceModel.Channels::TransportBindingElement
System.ServiceModel.Channels::ConnectionOrientedTransportBindingElement
System.ServiceModel.Channels::TcpTransportBindingElement
Assembly: System.ServiceModel (in System.ServiceModel.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. |
| Name | Description | |
|---|---|---|
![]() | ChannelInitializationTimeout | Gets or sets the time limit for initializing a channel to be accepted. (Inherited from ConnectionOrientedTransportBindingElement.) |
![]() | 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. |
![]() | ExtendedProtectionPolicy | Gets or sets the current extended protection policy. |
![]() | HostNameComparisonMode | Gets or sets a value that indicates whether the hostname is used to reach the service when matching on the URI. (Inherited from ConnectionOrientedTransportBindingElement.) |
![]() | ListenBacklog | Gets or sets the maximum number of queued connection requests that can be pending. |
![]() | ManualAddressing | Gets or sets a value that indicates whether manual addressing of the message is required. (Inherited from TransportBindingElement.) |
![]() | MaxBufferPoolSize | Gets or sets the maximum size of any buffer pools used by the transport. (Inherited from TransportBindingElement.) |
![]() | MaxBufferSize | Gets or sets the maximum size of the buffer to use. For streamed messages, this value should be at least the maximum possible size of the message headers, which are read in buffered mode. (Inherited from ConnectionOrientedTransportBindingElement.) |
![]() | MaxOutputDelay | Gets or sets the maximum interval of time that a chunk of a message or a full message can remain buffered in memory before being sent out. (Inherited from ConnectionOrientedTransportBindingElement.) |
![]() | MaxPendingAccepts | Gets or sets the maximum number of pending asynchronous accept operations that are available for processing incoming connections to the service. (Inherited from ConnectionOrientedTransportBindingElement.) |
![]() | MaxPendingConnections | Gets or sets the maximum number of connections awaiting dispatch on the service. (Inherited from ConnectionOrientedTransportBindingElement.) |
![]() | MaxReceivedMessageSize | Gets and sets the maximum allowable message size that can be received. (Inherited from TransportBindingElement.) |
![]() | PortSharingEnabled | Gets or sets a value that indicates whether TCP port sharing is enabled for this connection. |
![]() | Scheme | Returns the URI scheme for the transport. (Overrides TransportBindingElement::Scheme.) |
![]() | TeredoEnabled | Gets or sets a Boolean that specifies whether Teredo (a technology for addressing clients that are behind firewalls) is enabled. |
![]() | TransferMode | Gets or sets a value that indicates whether the messages are buffered or streamed with the connection-oriented transport. (Inherited from ConnectionOrientedTransportBindingElement.) |
| Name | Description | |
|---|---|---|
![]() | BuildChannelFactory<TChannel> | Creates a channel factory that can be used to create a channel. (Overrides BindingElement::BuildChannelFactory<TChannel>(BindingContext).) |
![]() | BuildChannelListener<TChannel> | Creates a channel listener of the specified type. (Overrides BindingElement::BuildChannelListener<TChannel>(BindingContext).) |
![]() | CanBuildChannelFactory<TChannel> | Determines whether a channel factory of the specified type can be built. (Inherited from ConnectionOrientedTransportBindingElement.) |
![]() | CanBuildChannelListener<TChannel> | Determines whether a channel listener 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 it 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 specified object from the BindingContext. (Overrides ConnectionOrientedTransportBindingElement::GetProperty<T>(BindingContext).) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ShouldSerializeExtendedProtectionPolicy | Returns an indication that the extended protection policy is not XAML serializable. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IPolicyExportExtension::ExportPolicy | Exports a custom policy assertion about bindings. (Inherited from ConnectionOrientedTransportBindingElement.) |
![]() ![]() | IWsdlExportExtension::ExportContract | Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for a contract. (Inherited from ConnectionOrientedTransportBindingElement.) |
![]() ![]() | IWsdlExportExtension::ExportEndpoint | Writes custom Web Services Description Language (WSDL) elements into the generated WSDL for an endpoint. (Inherited from ConnectionOrientedTransportBindingElement.) |
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 -to- communication.
The 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
