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)
'Usage
Dim instance As LoadTest
Dim handler As EventHandler(Of TestFinishedEventArgs)
AddHandler instance.TestFinished, handler
public event EventHandler<TestFinishedEventArgs> TestFinished
public:
event EventHandler<TestFinishedEventArgs^>^ TestFinished {
void add (EventHandler<TestFinishedEventArgs^>^ value);
void remove (EventHandler<TestFinishedEventArgs^>^ value);
}
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
- 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.