Bagikan melalui


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)

Syntax

'Declaration
Public Event TestFinished As EventHandler(Of TestFinishedEventArgs)
public event EventHandler<TestFinishedEventArgs> TestFinished
public:
 event EventHandler<TestFinishedEventArgs^>^ TestFinished {
    void add (EventHandler<TestFinishedEventArgs^>^ value);
    void remove (EventHandler<TestFinishedEventArgs^>^ value);
}
member TestFinished : IEvent<EventHandler<TestFinishedEventArgs>,
    TestFinishedEventArgs>
JScript does not support events.

Remarks

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

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

.NET Framework Security

See Also

Reference

LoadTest Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace