TestExecution.BeforeClassCleanup Event
Occurs before the class starts cleanup.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public MustOverride Event BeforeClassCleanup As EventHandler(Of BeforeClassCleanupEventArgs)
public abstract event EventHandler<BeforeClassCleanupEventArgs> BeforeClassCleanup
public:
virtual event EventHandler<BeforeClassCleanupEventArgs^>^ BeforeClassCleanup {
void add (EventHandler<BeforeClassCleanupEventArgs^>^ value);
void remove (EventHandler<BeforeClassCleanupEventArgs^>^ value);
}
abstract BeforeClassCleanup : IEvent<EventHandler<BeforeClassCleanupEventArgs>,
BeforeClassCleanupEventArgs>
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.