Condividi tramite


Evento TestExecution.BeforeTestCleanup

Si verifica prima che il test della pulizia.

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

Sintassi

'Dichiarazione
Public MustOverride Event BeforeTestCleanup As EventHandler(Of BeforeTestCleanupEventArgs)
public abstract event EventHandler<BeforeTestCleanupEventArgs> BeforeTestCleanup
public:
virtual  event EventHandler<BeforeTestCleanupEventArgs^>^ BeforeTestCleanup {
    void add (EventHandler<BeforeTestCleanupEventArgs^>^ value);
    void remove (EventHandler<BeforeTestCleanupEventArgs^>^ value);
}
abstract BeforeTestCleanup : IEvent<EventHandler<BeforeTestCleanupEventArgs>,
    BeforeTestCleanupEventArgs>
JScript non supporta gli eventi.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

TestExecution Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.UnitTesting