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