Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public:
event EventHandler<TestSelectedEventArgs^>^ TestSelected {
	void add(EventHandler<TestSelectedEventArgs^>^ value);
	void remove(EventHandler<TestSelectedEventArgs^>^ value);
}

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

Return to top
Show: