Langue

ServiceThrottlingElement.MaxConcurrentSessions Propriété

Définition

Obtient ou définit une valeur qui spécifie le nombre maximal de connexions simultanées à un seul service.

public:
 property int MaxConcurrentSessions { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxConcurrentSessions", DefaultValue=10)]
[System.Configuration.IntegerValidator(MinValue=1)]
public int MaxConcurrentSessions { get; set; }
[System.Configuration.IntegerValidator(MinValue=1)]
[System.Configuration.ConfigurationProperty("maxConcurrentSessions", DefaultValue=100)]
public int MaxConcurrentSessions { get; set; }
[<System.Configuration.ConfigurationProperty("maxConcurrentSessions", DefaultValue=10)>]
[<System.Configuration.IntegerValidator(MinValue=1)>]
member this.MaxConcurrentSessions : int with get, set
[<System.Configuration.IntegerValidator(MinValue=1)>]
[<System.Configuration.ConfigurationProperty("maxConcurrentSessions", DefaultValue=100)>]
member this.MaxConcurrentSessions : int with get, set
Public Property MaxConcurrentSessions As Integer

Valeur de propriété

Nombre maximal de connexions simultanées à un seul service. La valeur par défaut est Int32.MaxValue.

Attributs

Remarques

Le service accepte les connexions supérieures à la limite. Toutefois, seuls les canaux inférieurs à la limite sont actifs et les messages sont lus uniquement à partir de canaux actifs. La définition de cette propriété sur 0 équivaut à la définir MaxValuesur .

S’applique à