ApplicationPool.QueueLength Property

IIS 7.0

Gets or sets the maximum number of requests to queue in an application pool before rejecting requests.

Namespace:   Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)

public long QueueLength { get; set; }

Property Value

Type: System.Int64

The maximum number of requests to queue before rejecting additional requests.

When the maximum number of requests in the queue has been reached, the service returns an out-of-service message (503: Service Unavailable) to any additional requests to the current application pool.

You can use this property to configure the request queue of the current application pool. To set default values for all application pools on the server, use the ApplicationPoolDefaults object.

Return to top