MaxConcurrentSessions Property
Collapse the table of content
Expand the table of content

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)

[<ConfigurationPropertyAttribute("maxConcurrentSessions", DefaultValue = 100)>]
[<IntegerValidatorAttribute(MinValue = 1)>]
member MaxConcurrentSessions : int with get, set

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:
© 2016 Microsoft