WebProcessStatistics.RequestsExecuting Property

 

Gets the number of requests currently executing.

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

Public ReadOnly Property RequestsExecuting As Integer

Property Value

Type: System.Int32

The number of requests that the process is currently executing.

The RequestsExecuting value is a useful load indicator.

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

Public Function GetRequestsExecuting() As String
    ' Get the requests in execution.
    Return String.Format( _
    "Requests executing: {0}", _
    processStatistics.RequestsExecuting.ToString())
End Function 'GetRequestsExecuting


.NET Framework
Available since 2.0
Return to top
Show: