Share via


<connectionPoolSettings> of <tcpTransport> (Silverlight)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Configures the connection pool settings for the TCP transport.

Syntax

       <tcpTransport>         <connectionPoolSettings           groupName="string"           leaseTimeout="TimeSpan"           idleTimeout=" TimeSpan "           maxOutBoundConnectionPerEndpoint="string"           lockAttributes="string"           lockAllAttributesExcept="string" />           lockElements="string"           lockAllElementsExcept ="string" />           lockItem="string" />       </tcpTransport>

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description

groupName

Optional value indicating the group name of the connection pool group on the client.

leaseTimeout

Optional value indicating the time span after which a connection in the connection pool is closed.

idleTimeout

Optional value indicating the maximum time that the connection can be idle in the connection pool before being disconnected.

maxOutBoundConnectionPerEndpoint

Optional value indicating the maximum number of outbound connections for each endpoint that is cached in the connection pool.

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

None

Parent Elements

Element Description

<tcpTransport> of <customBinding> (Silverlight)

This element configures the connection buffer size, maximum buffer size, maximum received message size, and various locking attributes for the HTTP transport.

Text Value

Remarks

Example

See Also

Reference

TcpConnectionPoolSettings