Share via


ProcessModelSection.RestartQueueLimit Proprietà

Definizione

Ottiene o imposta un valore che indica il numero massimo di richieste in coda dell'ISAPI in attesa di un nuovo processo di lavoro per avviare la gestione delle richieste.

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

Valore della proprietà

Numero di richieste in coda. Il valore predefinito è 10.

Attributi

Esempio

Nell'esempio di codice seguente viene illustrato come accedere alla proprietà RestartQueueLimit.


// 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

Commenti

Quando questo limite viene superato, una richiesta client riceverà un errore 503 finché il processo di lavoro non è pronto.

Si applica a