Share via


TestExecution.BeforeTestInitialize Event

Occurs before the test starts initialization.

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

Syntax

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

.NET Framework Security

See Also

Reference

TestExecution Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace