Share via


TestExecution.AfterTestInitialize Event

Occurs after the test initializes.

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

Syntax

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

.NET Framework Security

See Also

Reference

TestExecution Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace