Occurs whenever the Visual Studio integrated development environment (IDE) shuts down while an add-in is running.
Assembly: Extensibility (in Extensibility.dll)
Although a shutdown of Visual Studio might be canceled, the method cannot be canceled. As a result, add-ins should assume that all shutdown events occur and perform any cleanup routines accordingly.
This method can be used to store the settings of the add-in at the time that Visual Studio shuts down so that it can be restored later to its original state.
- 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.