Partager via


LoadTest.TestFinished, événement

Se produit lorsqu'une itération de l'un des tests contenus dans le test de charge se termine.

Espace de noms :  Microsoft.VisualStudio.TestTools.LoadTesting
Assembly :  Microsoft.VisualStudio.QualityTools.LoadTestFramework (dans Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

Syntaxe

'Déclaration
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 ne prend pas en charge les événements.

Notes

TestFinishedEventArgs contient l'objet TestIterationResult pour le test qui se termine.

Pour plus d'informations sur la gestion d'événements, consultez Consommation d'événements.

Sécurité .NET Framework

Voir aussi

Référence

LoadTest Classe

Microsoft.VisualStudio.TestTools.LoadTesting, espace de noms