LoadTestUserContext.UserId Property
Gets the UserId of the user within the load test scenario.
Namespace: Microsoft.VisualStudio.TestTools.LoadTesting
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)
Syntax
'Declaration
Public ReadOnly Property UserId As Integer
'Usage
Dim instance As LoadTestUserContext
Dim value As Integer
value = instance.UserId
public int UserId { get; }
public:
property int UserId {
int get ();
}
public function get UserId () : int
Property Value
Type: System.Int32
.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.