Share via


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

See Also

Reference

TestExecution Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace