TestStartingEventArgs.UserContext Property
Gets the LoadTestUserContext that represents the virtual user that is running the test that is starting.
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 TestStartingEventArgs
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.