WebProcessStatistics.RequestsQueued Property

 

Gets the number of requests waiting to be processed.

Namespace:   System.Web.Management
Assembly:  System.Web (in System.Web.dll)

public int RequestsQueued { get; }

Property Value

Type: System.Int32

The number of requests waiting to be processed.

The RequestsQueued value is a useful load indicator.

The following code example shows how to get the RequestsQueued value.

public string GetRequestsQueued()
{
    // Get the requests queued.
    return (string.Format(
        "Requests queued: {0}",
        processStatistics.RequestsQueued.ToString()));
}

.NET Framework
Available since 2.0
Return to top
Show: