Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
property int MaxPendingChannels {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

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

Exception Condition
ArgumentOutOfRangeException

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
Show:
© 2017 Microsoft