This documentation is archived and is not being maintained.

LoadTest.TestFinished Event

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

Namespace: Microsoft.VisualStudio.TestTools.LoadTesting
Assembly: Microsoft.VisualStudio.QualityTools.LoadTestFramework (in microsoft.visualstudio.qualitytools.loadtestframework.dll)

public event EventHandler<TestFinishedEventArgs> TestFinished
/** @event */
public void add_TestFinished (EventHandler<TestFinishedEventArgs> value)

/** @event */
public void remove_TestFinished (EventHandler<TestFinishedEventArgs> value)

JScript supports the use of events, but not the declaration of new ones.

TestFinishedEventArgs contains the TestIterationResult object for the test that is finishing.

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