Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the LoadTestUserContext that represents the virtual user that is running the selected test.
Namespace: Microsoft.VisualStudio.TestTools.LoadTesting
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)
Syntax
'Declaration
Public ReadOnly Property UserContext As LoadTestUserContext
'Usage
Dim instance As TestSelectedEventArgs
Dim value As LoadTestUserContext
value = instance.UserContext
public LoadTestUserContext UserContext { get; }
public:
property LoadTestUserContext^ UserContext {
LoadTestUserContext^ get ();
}
public function get UserContext () : LoadTestUserContext
Property Value
Type: Microsoft.VisualStudio.TestTools.LoadTesting.LoadTestUserContext
.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.