Teilen über


HttpRuntimeSection.AppRequestQueueLimit Eigenschaft

Definition

Ruft einen Wert ab, der die maximale Anzahl von Anforderungen angibt, die von ASP.NET für die Anwendung in der Warteschlange gespeichert werden können, oder legt diese fest.

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

Int32

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

Attribute

Beispiele

Im folgenden Beispiel wird die Verwendung der AppRequestQueueLimit-Eigenschaft veranschaulicht.

// 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 festgelegten Anforderungen überschritten wird, werden eingehende Anforderungen mit einem Fehler "503 - Server zu beschäftigt" abgelehnt.

Gilt für