ProcessModelSection.RestartQueueLimit Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit une valeur indiquant le nombre maximal de requêtes mises en file d’attente par l’ISAPI en attendant qu’un nouveau processus de travail commence à gérer les demandes.
public:
property int RestartQueueLimit { int get(); void set(int value); };
[System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteIntConverter))]
[System.Configuration.ConfigurationProperty("restartQueueLimit", DefaultValue=10)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int RestartQueueLimit { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Configuration.InfiniteIntConverter))>]
[<System.Configuration.ConfigurationProperty("restartQueueLimit", DefaultValue=10)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.RestartQueueLimit : int with get, set
Public Property RestartQueueLimit As Integer
Valeur de propriété
Nombre de demandes mises en file d’attente. La valeur par défaut est 10.
- Attributs
Exemples
L’exemple de code suivant montre comment accéder à la RestartQueueLimit propriété.
// Get the current RestartQueueLimit property value.
int restartQueueLimit =
processModelSection.RestartQueueLimit;
// Set the RestartQueueLimit property to 8.
processModelSection.RestartQueueLimit = 8;
' Get the current RestartQueueLimit property value.
Dim restartQueueLimit As Integer = _
processModelSection.RestartQueueLimit
' Set the RestartQueueLimit property to 8.
processModelSection.RestartQueueLimit = 8
Remarques
Lorsque cette limite est dépassée, une demande cliente reçoit une erreur 503 jusqu’à ce que le processus de travail soit prêt.