ConnectionOrientedTransportBindingElement.MaxPendingConnections Property
Gets or sets the maximum number of connections awaiting dispatch on the service.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException |
The value is less than or equal to zero. |
This limits the number of simultaneous client connections awaiting dispatch. If this value is too low, client connection attempts may be rejected by the service. If it is too high, the service may appear slow or unresponsive to clients during heavy load periods. This property should be set to a value that allows the service to run at full capacity, and no higher.
When a higher layer in the stack calls AcceptDispatch, that connection is removed from the queue of connections awaiting dispatch.
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.