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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.