Udostępnij za pośrednictwem


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

See Also

Reference

TestStartingEventArgs Class

TestStartingEventArgs Members

Microsoft.VisualStudio.TestTools.LoadTesting Namespace