HttpRuntimeSection.AppRequestQueueLimit Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

[<ConfigurationPropertyAttribute("appRequestQueueLimit", DefaultValue = 5000)>]
[<IntegerValidatorAttribute(MinValue = 1)>]
member AppRequestQueueLimit : int with get, set

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.

System_CAPS_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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: