Evento TestExecution.AfterTestCleanup

Si verifica al termine della pulizia da parte del test.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Sintassi

'Dichiarazione
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 non supporta gli eventi.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

TestExecution Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.UnitTesting