Udostępnij za pośrednictwem


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
'Usage
Dim instance As WebTestContext 
Dim value As Integer 

value = instance.AgentCount
public int AgentCount { get; }
public:
property int AgentCount {
    int get ();
}
public 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

WebTestContext Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace

Other Resources

Controllers, Agents, and Rigs