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 名前空間