Compartilhar via


Evento TestExecution.AfterTestInitialize

Ocorre após o teste inicializa.

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

Sintaxe

'Declaração
Public MustOverride Event AfterTestInitialize As EventHandler(Of AfterTestInitializeEventArgs)
public abstract event EventHandler<AfterTestInitializeEventArgs> AfterTestInitialize
public:
virtual  event EventHandler<AfterTestInitializeEventArgs^>^ AfterTestInitialize {
    void add (EventHandler<AfterTestInitializeEventArgs^>^ value);
    void remove (EventHandler<AfterTestInitializeEventArgs^>^ value);
}
abstract AfterTestInitialize : IEvent<EventHandler<AfterTestInitializeEventArgs>,
    AfterTestInitializeEventArgs>
JScript não oferece suporte a eventos.

Segurança do .NET Framework

Consulte também

Referência

TestExecution Classe

Namespace Microsoft.VisualStudio.TestTools.UnitTesting