ProcessModelSection.RestartQueueLimit Właściwość
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Pobiera lub ustawia wartość wskazującą maksymalną liczbę żądań w kolejce przez interfejs ISAPI podczas oczekiwania na rozpoczęcie obsługi żądań przez nowy proces roboczy.
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
Wartość właściwości
Liczba żądań w kolejce. Wartość domyślna to 10.
- Atrybuty
Przykłady
Poniższy przykład kodu pokazuje, jak uzyskać dostęp RestartQueueLimit do właściwości.
// 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
Uwagi
Po przekroczeniu tego limitu żądanie klienta otrzyma błąd 503, dopóki proces roboczy nie będzie gotowy.