WebTestContext.WebTestUserId Property
Gets a value that uniquely identifies a simulated virtual user when you run the Web test in a load test.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Property WebTestUserId As Integer
'Usage
Dim instance As WebTestContext
Dim value As Integer
value = instance.WebTestUserId
instance.WebTestUserId = value
public int WebTestUserId { get; internal set; }
public:
property int WebTestUserId {
int get ();
void set (int value);
}
public function get WebTestUserId () : int
public function set WebTestUserId (value : int)
Property Value
Type: System.Int32
A virtual user identification number.
.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.