Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MaxConcurrentSessions Property

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)

'Declaration
<ConfigurationPropertyAttribute("maxConcurrentSessions", DefaultValue := )> _
<IntegerValidatorAttribute(MinValue := )> _
Public Property MaxConcurrentSessions As Integer

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft