Compartilhar via


Evento TestExecution.BeforeAssemblyInitialize

Ocorre antes que o assembly começa a inicialização.

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

Sintaxe

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

Segurança do .NET Framework

Consulte também

Referência

TestExecution Classe

Namespace Microsoft.VisualStudio.TestTools.UnitTesting