WebTestContext.AgentId Property
Gets the zero-based index for the current agent.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public ReadOnly Property AgentId As Integer
public int AgentId { get; }
public:
property int AgentId {
int get ();
}
member AgentId : int with get
function get AgentId () : int
Property Value
Type: Int32
The index value of the current agent.
.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