LoadTestUserContext.UserId Property
Gets the UserId of the user in 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
public int UserId { get; }
public:
property int UserId {
int get ();
}
member UserId : int with get
function get UserId () : int
Property Value
Type: Int32
The UserId of the user in the load test scenario.
.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.