共用方式為


LoadTestUserContext.CompletedTestCount 屬性

取得或設定測試數目,這些測試是從負載測試開始執行以來,由 LoadTestUserContext 物件所表示之虛擬使用者所完成。

命名空間:  Microsoft.VisualStudio.TestTools.LoadTesting
組件:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (在 Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll 中)

語法

'宣告
Public Property CompletedTestCount As Integer
    Get
    Friend Set
public int CompletedTestCount { get; internal set; }
public:
property int CompletedTestCount {
    int get ();
    internal: void set (int value);
}
member CompletedTestCount : int with get, internal set
function get CompletedTestCount () : int
internal function set CompletedTestCount (value : int)

屬性值

型別:System.Int32
測試的數目,這些測試是從負載測試開始執行以來,由虛擬使用者所完成的。

.NET Framework 安全性

請參閱

參考

LoadTestUserContext 類別

Microsoft.VisualStudio.TestTools.LoadTesting 命名空間