<connectionPoolSettings>

Specifies additional connection pool settings for a Named Pipe binding.

<configuration>
  <system.serviceModel>
    <bindings>
      <customBinding>
        <binding>
          <namedPipeTransport>
            <connectionPoolSettings>

Syntax

<connectionPoolSettings groupName="String"
                        idleTimeout="TimeSpan"
                        maxOutboundConnectionsPerEndpoint="Integer" />

Attributes and Elements

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

Attributes

Attribute Description
groupName A string that defines the name of the connection pool used for outgoing channels. In streamed mode, connections are not shared, meaning that connection pooling is disabled. The default is a "default" string. You can modify this value to isolate the connections for a particular client into separate groups.
idleTimeout A positive TimeSpan that specifies the maximum time the connection can be idle before being disconnected. The default is 00:02:00.
maxOutboundConnectionsPerEndpoint A positive integer that specifies the maximum number of connections to a remote endpoint initiated by the service. Connections in excess of the limit are queued until a space below the limit becomes available. The idleTimeout limits the duration in which connections remain queued before an exception is thrown. The default is 10.

This attribute limits the number of simultaneous active connections from the client to a particular service endpoint. If this value is exceeded by having more active client connections, the service may appear unresponsive to the client. In this case, this value should be adjusted to exceed the maximum number of expected simultaneous client connections to a specific endpoint.

Child Elements

None.

Parent Elements

Element Description
<namedPipeTransport> Defines a transport that causes a channel to transfer messages using named pipes.

See also