Bagikan melalui


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

See Also

Reference

TestExecution Class

Microsoft.VisualStudio.TestTools.UnitTesting Namespace