Sdílet prostřednictvím


LoadTest.TestFinished – událost

Nastane při dokončení iterace jeden z testů obsažené v zátěžový test.

Obor názvů:  Microsoft.VisualStudio.TestTools.LoadTesting
Sestavení:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (v Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

Syntaxe

'Deklarace
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>
Jazyk JScript nepodporuje události.

Poznámky

TestFinishedEventArgs obsahuje TestIterationResult objekt pro test, který je dokončení.

Další informace o tom, jak zpracovávat události naleznete v tématu Consuming Events.

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

LoadTest Třída

Microsoft.VisualStudio.TestTools.LoadTesting – obor názvů