使用英语阅读

通过


WebTestContext.AgentCount 属性

获取当前测试运行中使用的代理总数。

命名空间:  Microsoft.VisualStudio.TestTools.WebTesting
程序集:  Microsoft.VisualStudio.QualityTools.WebTestFramework(在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

语法

public int AgentCount { get; }

属性值

类型:Int32
当前测试运行中使用的代理数。

.NET Framework 安全性

请参阅

参考

WebTestContext 类

Microsoft.VisualStudio.TestTools.WebTesting 命名空间

其他资源

Working with Agents