Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.