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
'Usage
Dim instance As WebTestContext
Dim value As Integer
value = instance.AgentId
public int AgentId { get; }
public:
property int AgentId {
int get ();
}
public function get AgentId () : int
Property Value
Type: System.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