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