Share via


WebTestContext.AgentCount Property

Gets the total number of agents used in the current test run.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public ReadOnly Property AgentCount As Integer
public int AgentCount { get; }
public:
property int AgentCount {
    int get ();
}
member AgentCount : int
function get AgentCount () : int

Property Value

Type: System.Int32
The number of agents used in the current test run.

.NET Framework Security

See Also

Reference

WebTestContext Class

Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

Working with Agents