共用方式為


WebProcessStatistics.RequestsExecuting 屬性

定義

取得目前執行中的要求個數。

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

屬性值

此處理序目前執行中的要求個數。

範例

下列程式碼範例示範如何取得 RequestsExecuting 值。

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

備註

此值 RequestsExecuting 是實用的負載指標。

適用於