Partager via


TestExecution.AfterClassInitialize Event

Occurs after the class initializes.

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

Syntax

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

.NET Framework Security

See Also

Reference

TestExecution Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace