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:
[ConfigurationPropertyAttribute("appRequestQueueLimit", DefaultValue = 5000)]
[IntegerValidatorAttribute(MinValue = 1)]
property int AppRequestQueueLimit {
	int get();
	void set(int value);
}

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: