Freigeben über


HttpRuntimeSection.AppRequestQueueLimit Eigenschaft

Definition

Dient zum Abrufen oder Festlegen eines Werts, der die maximale Anzahl von Anforderungen angibt, die ASP.NET Warteschlangen für die Anwendung.

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

Eigenschaftswert

Die maximale Anzahl von Anforderungen, die in der Warteschlange gespeichert werden kann.

Attribute

Beispiele

Das folgende Beispiel zeigt, wie die AppRequestQueueLimit Eigenschaft verwendet wird.

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

Hinweise

ASP.NET Warteschlangenanforderungen, wenn nicht genügend freie Threads vorhanden sind, um sie zu verarbeiten.

Hinweis

Wenn die Anzahl der von dieser Einstellung in die Warteschlange gestellten Anforderungen überschreitet, werden eingehende Anforderungen mit einem Fehler "503 – Server zu ausgelastet" abgelehnt.

Gilt für: