Export (0) Print
Expand All

HttpRuntimeSection.AppRequestQueueLimit Property

Gets or sets a value that indicates the maximum number of requests that ASP.NET queues for the application.

Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)

public int AppRequestQueueLimit { get; set; }
/** @property */
public int get_AppRequestQueueLimit ()

/** @property */
public void set_AppRequestQueueLimit (int value)

public function get AppRequestQueueLimit () : int

public function set AppRequestQueueLimit (value : int)

Not applicable.

Property Value

The maximum number of requests that can be queued.

ASP.NET queues requests when there are not enough free threads to process them.

NoteNote:

When the number of requests queued exceeds the limit imposed by this setting, incoming requests will be rejected with a "503 - Server Too Busy" error.

The following example shows how to use the AppRequestQueueLimit property.

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

// Set the AppRequestQueueLimit property value to 4500.
configSection.AppRequestQueueLimit = 4500;

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft