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)
public event EventHandler<TestStartingEventArgs> TestStarting
public:
event EventHandler<TestStartingEventArgs^>^ TestStarting {
void add (EventHandler<TestStartingEventArgs^>^ value);
void remove (EventHandler<TestStartingEventArgs^>^ value);
}
member TestStarting : IEvent<EventHandler<TestStartingEventArgs>,
TestStartingEventArgs>
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.