共用方式為


DataCollectionEvents.TestCaseEnd 事件

當測試案例結束時引發。

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

語法

'宣告
Public MustOverride Event TestCaseEnd As EventHandler(Of TestCaseEndEventArgs)
public abstract event EventHandler<TestCaseEndEventArgs> TestCaseEnd
public:
virtual  event EventHandler<TestCaseEndEventArgs^>^ TestCaseEnd {
    void add (EventHandler<TestCaseEndEventArgs^>^ value);
    void remove (EventHandler<TestCaseEndEventArgs^>^ value);
}
abstract TestCaseEnd : IEvent<EventHandler<TestCaseEndEventArgs>,
    TestCaseEndEventArgs>
JScript 不支援事件。

.NET Framework 安全性

請參閱

參考

DataCollectionEvents 類別

Microsoft.VisualStudio.TestTools.Execution 命名空間