ServiceThrottlingElement::MaxConcurrentSessions Property

 

Gets or sets a value that specifies the maximum number of concurrent connections to a single service.

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

public:
[ConfigurationPropertyAttribute("maxConcurrentSessions", DefaultValue = 100)]
[IntegerValidatorAttribute(MinValue = 1)]
property int MaxConcurrentSessions {
	int get();
	void set(int value);
}

Property Value

Type: System::Int32

The maximum number of concurrent connections to a single service. The default is MaxValue.

The service accepts connections in excess of the limit. However, only the channels below the limit are active and messages are only read from active channels. Setting this property to 0 is equivalent to setting it to MaxValue.

.NET Framework
Available since 3.0
Return to top
Show: