LoadTest.TestSelected Event

Occurs every time an iteration of one of the tests contained within the LoadTest is selected.

Namespace:  Microsoft.VisualStudio.TestTools.LoadTesting
Assembly:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

Syntax

'Declaration
Public Event TestSelected As EventHandler(Of TestSelectedEventArgs)
'Usage
Dim instance As LoadTest 
Dim handler As EventHandler(Of TestSelectedEventArgs)

AddHandler instance.TestSelected, handler
public event EventHandler<TestSelectedEventArgs> TestSelected
public:
 event EventHandler<TestSelectedEventArgs^>^ TestSelected {
    void add (EventHandler<TestSelectedEventArgs^>^ value);
    void remove (EventHandler<TestSelectedEventArgs^>^ value);
}
JScript does not support events.

Remarks

The event handler may change the test to be started by setting the TestName property of the TestStartingEventArgs class.

.NET Framework Security

See Also

Reference

LoadTest Class

LoadTest Members

Microsoft.VisualStudio.TestTools.LoadTesting Namespace