Occurs when a test is stopped before it is completed.
Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public MustOverride Event OnTestStopping As EventHandler(Of OnTestStoppingEventArgs)
public abstract event EventHandler<OnTestStoppingEventArgs> OnTestStopping
public:
virtual   event EventHandler<OnTestStoppingEventArgs^>^ OnTestStopping {
    void add (EventHandler<OnTestStoppingEventArgs^>^ value);
    void remove (EventHandler<OnTestStoppingEventArgs^>^ value);
}
abstract OnTestStopping : IEvent<EventHandler<OnTestStoppingEventArgs>,
    OnTestStoppingEventArgs>
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.