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