Share via


TestExecution.BeforeClassInitialize Event

Occurs before the class starts initialization.

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

Syntax

'Declaration
Public MustOverride Event BeforeClassInitialize As EventHandler(Of BeforeClassInitializeEventArgs)
public abstract event EventHandler<BeforeClassInitializeEventArgs> BeforeClassInitialize
public:
virtual  event EventHandler<BeforeClassInitializeEventArgs^>^ BeforeClassInitialize {
    void add (EventHandler<BeforeClassInitializeEventArgs^>^ value);
    void remove (EventHandler<BeforeClassInitializeEventArgs^>^ value);
}
abstract BeforeClassInitialize : IEvent<EventHandler<BeforeClassInitializeEventArgs>,
    BeforeClassInitializeEventArgs>
JScript does not support events.

.NET Framework Security

See Also

Reference

TestExecution Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace