DataCollectionEvents.TestCaseStart 事件

在测试用例开始时引发。

命名空间:  Microsoft.VisualStudio.TestTools.Execution
程序集:  Microsoft.VisualStudio.QualityTools.ExecutionCommon(在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)

语法

声明
Public MustOverride Event TestCaseStart As EventHandler(Of TestCaseStartEventArgs)
public abstract event EventHandler<TestCaseStartEventArgs> TestCaseStart
public:
virtual   event EventHandler<TestCaseStartEventArgs^>^ TestCaseStart {
    void add (EventHandler<TestCaseStartEventArgs^>^ value);
    void remove (EventHandler<TestCaseStartEventArgs^>^ value);
}
abstract TestCaseStart : IEvent<EventHandler<TestCaseStartEventArgs>,
    TestCaseStartEventArgs>
JScript 不支持事件。

.NET Framework 安全性

请参阅

参考

DataCollectionEvents 类

Microsoft.VisualStudio.TestTools.Execution 命名空间