ReliableSessionBindingElement.MaxPendingChannels Property


Gets or sets the largest number of channels that can be pending during the reliable session.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public int MaxPendingChannels { get; set; }

Property Value

Type: System.Int32

The largest number of channels that can be pending. The default value is 4.

Exception Condition

The value set is less than or equal to zero or greater than 16384.

Channels are pending when they are waiting to be accepted. Once that limit is reached, no channels are created and put in pending mode until this number goes down (by accepting pending channels). This is a limit for each listener.

When the threshold is reached and a remote application tries to establish a new reliable session, the request is denied and the open operation that prompted this faults.

.NET Framework
Available since 3.0
Return to top