Partage via


ServiceThrottlingElement.MaxConcurrentInstances Propriété

Définition

Obtient ou définit une valeur qui spécifie le nombre maximal d'instances de service simultanées.

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

Valeur de propriété

Int32

Le nombre maximal d'instances de service simultanées. La valeur par défaut est 26.

Attributs

Remarques

Les demandes de création d'instances supplémentaires sont mises en file d'attente et traitées lorsqu'un emplacement se libère.

S’applique à