WebProcessStatistics.RequestsExecuting Właściwość

Definicja

Pobiera liczbę aktualnie wykonywanych żądań.

public:
 property int RequestsExecuting { int get(); };
public int RequestsExecuting { get; }
member this.RequestsExecuting : int
Public ReadOnly Property RequestsExecuting As Integer

Wartość właściwości

Liczba żądań aktualnie wykonywanych przez proces.

Przykłady

W poniższym przykładzie kodu pokazano, jak uzyskać RequestsExecuting wartość.

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

Uwagi

Wartość RequestsExecuting jest przydatnym wskaźnikiem obciążenia.

Dotyczy