HttpRuntimeSection.AppRequestQueueLimit Eigenschap

Definitie

Hiermee wordt een waarde opgehaald of ingesteld die het maximum aantal aanvragen aangeeft dat ASP.NET wachtrijen voor de toepassing.

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

Waarde van eigenschap

Het maximum aantal aanvragen dat in de wachtrij kan worden geplaatst.

Kenmerken

Voorbeelden

In het volgende voorbeeld ziet u hoe u de AppRequestQueueLimit eigenschap gebruikt.

// Get the AppRequestQueueLimit property value.
Response.Write("AppRequestQueueLimit: " +
  configSection.AppRequestQueueLimit + "<br>");

// Set the AppRequestQueueLimit property value to 4500.
configSection.AppRequestQueueLimit = 4500;
' Get the AppRequestQueueLimit property value.
Response.Write("AppRequestQueueLimit: " & _
  configSection.AppRequestQueueLimit & "<br>")

' Set the AppRequestQueueLimit property value to 4500.
configSection.AppRequestQueueLimit = 4500

Opmerkingen

ASP.NET wachtrijaanvragen wanneer er onvoldoende vrije threads zijn om ze te verwerken.

Note

Wanneer het aantal aanvragen in de wachtrij de limiet overschrijdt die door deze instelling wordt opgelegd, worden binnenkomende aanvragen geweigerd met de fout '503 - Server te bezet'.

Van toepassing op