Share via


TestExecution.AfterTestCleanup Event

Occurs after the test finishes cleanup.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Syntax

'Declaration
Public MustOverride Event AfterTestCleanup As EventHandler(Of AfterTestCleanupEventArgs)
public abstract event EventHandler<AfterTestCleanupEventArgs> AfterTestCleanup
public:
virtual  event EventHandler<AfterTestCleanupEventArgs^>^ AfterTestCleanup {
    void add (EventHandler<AfterTestCleanupEventArgs^>^ value);
    void remove (EventHandler<AfterTestCleanupEventArgs^>^ value);
}
abstract AfterTestCleanup : IEvent<EventHandler<AfterTestCleanupEventArgs>,
    AfterTestCleanupEventArgs>
JScript does not support events.

.NET Framework Security

See Also

Reference

TestExecution Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace