Share via


TestExecution.AfterTestCleanup 事件

在测试完成清理后发生。

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

语法

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

.NET Framework 安全性

请参见

参考

TestExecution 类

Microsoft.VisualStudio.TestTools.UnitTesting 命名空间