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)

'Declaration
<ConfigurationPropertyAttribute("appRequestQueueLimit", DefaultValue := )> _
<IntegerValidatorAttribute(MinValue := )> _
Public Property AppRequestQueueLimit As Integer

Property Value

Type: System.Int32
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

.NET Framework

Supported in: 4.6, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft