LoadTestContext.AgentCount Property
Gets the total number of agents that are used in the load test run.
Namespace: Microsoft.VisualStudio.TestTools.LoadTesting
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)
Syntax
'Declaration
Public Property AgentCount As Integer
public int AgentCount { get; internal set; }
public:
property int AgentCount {
int get ();
internal: void set (int value);
}
member AgentCount : int with get, internal set
function get AgentCount () : int
internal function set AgentCount (value : int)
Property Value
Type: Int32
The number of agents that are used in the load test.
.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.