Udostępnij za pośrednictwem


LoadTest.TestStarting Event

Occurs when an iteration of one of the tests contained within the load test is started.

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

Syntax

'Declaration
Public Event TestStarting As EventHandler(Of TestStartingEventArgs)
'Usage
Dim instance As LoadTest 
Dim handler As EventHandler(Of TestStartingEventArgs)

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

Remarks

TestStartingEventArgs contains a reference to the test that is starting, and the LoadTestScenario in which it is starting.

For more information about how to handle events, see Consuming Events.

.NET Framework Security

See Also

Reference

LoadTest Class

LoadTest Members

Microsoft.VisualStudio.TestTools.LoadTesting Namespace