<tcpTransport> of <customBinding> (Silverlight)
Microsoft Silverlight will reach end of support after October 2021. Learn more.
This element configures the connection buffer size, maximum buffer size, maximum received message size, and various locking attributes for the HTTP transport.
Schema Hierarchy
<system.serviceModel> (Silverlight)
<bindings> (Silverlight)
<customBinding> (Silverlight)
<binding> of <customBinding> (Silverlight)
<tcpTransport> of <customBinding> (Silverlight)
Syntax
<customBinding>
<binding>
<tcpTransport connectionBufferSize="Integer"
maxBufferSize="Integer"
maxReceivedMessageSize="long" lockAttributes="string" lockAllAttributesExcept="string" lockElements="string" lockAllElementsExcept ="string" lockItem="string" /> <connectionPoolSettings/> </tcpTransport>
</binding>
</customBinding>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements.
Attributes
Attribute | Description |
---|---|
connectionBufferSize |
An optional integer value that specifies the size of the buffer used to transmit a chunk of the serialized message on the wire from the client or service. |
maxBufferSize |
An optional integer value that specifies the maximum size, in bytes, of a buffer that stores messages while they are processed for an endpoint configured with this binding. |
maxReceivedMessageSize |
A positive integer that defines the maximum message size, in bytes, including headers, for a message that can be received on a channel configured with this binding. The sender receives a SOAP fault if the message is too large for the receiver. |
lockAttributes |
Optional value indicating the collection of locked attributes. |
lockAllAttributesExcept |
Optional value indicating the collection of locked attributes by specifying the ones not to lock. |
lockElements |
Optional value indicating the collection of locked elements. |
lockAllElementsExcept |
Optional value indicating the collection of locked elements by specifying the ones not to lock. |
lockItem |
Optional value indicating whether an element is locked. Using this lock on an element also locks the child elements. |
Child Elements
Element | Description |
---|---|
Configures the connection pool settings for the TCP transport. |
Parent Elements
Element | Description |
---|---|
Used to configure Silverlight client communications with services that expose endpoints that do not conform to WS-I BP 1.1 or when you want full control over the message stack. |
Text Value
Remarks
Example