Partager via


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
public LoadTestUserContext UserContext { get; }
public:
property LoadTestUserContext^ UserContext {
    LoadTestUserContext^ get ();
}
member UserContext : LoadTestUserContext with get
function get UserContext () : LoadTestUserContext

Property Value

Type: Microsoft.VisualStudio.TestTools.LoadTesting.LoadTestUserContext
The LoadTestUserContext that represents the virtual user that is running the test that is starting.

.NET Framework Security

See Also

Reference

TestStartingEventArgs Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace