ProcessModelSection.RestartQueueLimit Eigenschap

Definitie

Hiermee wordt een waarde opgehaald of ingesteld die het maximum aantal aanvragen aangeeft dat door de ISAPI wordt in de wachtrij geplaatst terwijl wordt gewacht tot een nieuw werkproces de aanvragen verwerkt.

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

Waarde van eigenschap

Het aantal aanvragen dat in de wachtrij is geplaatst. De standaardwaarde is 10.

Kenmerken

Voorbeelden

In het volgende codevoorbeeld ziet u hoe u toegang hebt tot de RestartQueueLimit eigenschap.


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

Opmerkingen

Wanneer deze limiet wordt overschreden, ontvangt een clientaanvraag een 503-fout totdat het werkproces gereed is.

Van toepassing op