Share via


TestExecution.BeforeAssemblyInitialize Event

Occurs before the assembly starts initialization.

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

Syntax

'Declaration
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 does not support events.

.NET Framework Security

See Also

Reference

TestExecution Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace