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
- 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.