LoadTest.TestFinished 事件

更新:2007 年 11 月

發生於負載測試所包含之某一測試完成反覆運算時。

命名空間:  Microsoft.VisualStudio.TestTools.LoadTesting
組件:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (在 Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll 中)

語法

Public Event TestFinished As EventHandler(Of TestFinishedEventArgs)

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 不支援事件。

備註

TestFinishedEventArgs 中會包含測試完成的 TestIterationResult 物件。

如需如何處理事件的詳細資訊,請參閱使用事件

使用權限

請參閱

參考

LoadTest 類別

LoadTest 成員

Microsoft.VisualStudio.TestTools.LoadTesting 命名空間