WebProcessStatistics.RequestsQueued Property

 

Gets the number of requests waiting to be processed.

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

Public ReadOnly Property RequestsQueued As Integer

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 Function GetRequestsQueued() As String
    ' Get the requests queued.
    Return String.Format( _
    "Requests queued: {0}", _
    processStatistics.RequestsQueued.ToString())
End Function 'GetRequestsQueued


.NET Framework
Available since 2.0
Return to top
Show: