WebTestContext.AgentId-Eigenschaft

Aktualisiert: November 2007

Ruft den nullbasierten Indexwert für den aktuellen Agent ab.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

Public ReadOnly Property AgentId As Integer

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

Eigenschaftenwert

Typ: System.Int32

Der Indexwert des aktuellen Agents.

Berechtigungen

Siehe auch

Referenz

WebTestContext-Klasse

WebTestContext-Member

Microsoft.VisualStudio.TestTools.WebTesting-Namespace

Weitere Ressourcen

Controller, Agents und Rigs