Lenguaje

ServiceThrottlingElement.MaxConcurrentSessions Propiedad

Definición

Obtiene o establece un valor que especifica el número máximo de conexiones simultáneas a un único servicio.

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

Valor de propiedad

Número máximo de conexiones simultáneas a un único servicio. El valor predeterminado es Int32.MaxValue.

Atributos

Comentarios

El servicio acepta conexiones que superan el límite. Sin embargo, solo los canales por debajo del límite están activos y los mensajes solo se leen de los canales activos. Establecer esta propiedad en 0 equivale a establecerla en MaxValue.

Se aplica a