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 with get
function get AgentCount () : int
Property Value
Type: Int32
The number of agents used in the current test run.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.WebTesting Namespace