LoadTestContext.AgentCount 屬性

取得負載測試回合所使用的代理程式總數。

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

語法

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

屬性值

型別:System.Int32
在負載測試中使用的代理程式數目。

.NET Framework 安全性

請參閱

參考

LoadTestContext 類別

Microsoft.VisualStudio.TestTools.LoadTesting 命名空間