共用方式為


DataCollectionEvents.TestCaseFailed 事件

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

語法

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

.NET Framework 安全性

請參閱

參考

DataCollectionEvents 類別

Microsoft.VisualStudio.TestTools.Execution 命名空間