ReliableSessionElement.MaxPendingChannels Property

Definition

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

public:
 property int MaxPendingChannels { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxPendingChannels", DefaultValue=4)]
[System.Configuration.IntegerValidator(MaxValue=16384, MinValue=1)]
public int MaxPendingChannels { get; set; }
[<System.Configuration.ConfigurationProperty("maxPendingChannels", DefaultValue=4)>]
[<System.Configuration.IntegerValidator(MaxValue=16384, MinValue=1)>]
member this.MaxPendingChannels : int with get, set
Public Property MaxPendingChannels As Integer

Property Value

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

Attributes

Remarks

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.

Applies to