ReliableSessionElement.MaxPendingChannels Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the maximum number of channels that can wait to be accepted on the listener.

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

[ConfigurationPropertyAttribute("maxPendingChannels", DefaultValue = 4)]
[IntegerValidatorAttribute(MinValue = 1, MaxValue = 16384)]
public int MaxPendingChannels { get; set; }

Property Value

Type: System.Int32

The maximum number of channels that can wait to be accepted on the listener. The default is 128.

This value should be an integer between 1 and 16384 inclusively.

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

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. This limit does not apply to the number of pending outgoing channels.

.NET Framework
Available since 3.0
Return to top
Show: