Compartilhar via


Evento TestExecution.BeforeTestCleanup

Ocorre antes que o teste inicia a limpeza.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (em Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Sintaxe

'Declaração
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>
O JScript não oferece suporte a eventos.

Segurança do .NET Framework

Consulte também

Referência

TestExecution Classe

Namespace Microsoft.VisualStudio.TestTools.UnitTesting