WebTestContext.AgentCount 属性
获取当前测试运行中使用的代理总数。
命名空间: Microsoft.VisualStudio.TestTools.WebTesting
程序集: Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)
声明
Public ReadOnly Property AgentCount As Integer
public int AgentCount { get; }
public:
property int AgentCount {
int get ();
}
member AgentCount : int with get
function get AgentCount () : int
类型:Int32
当前测试运行中使用的代理数。
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。