Informs the add-in about how it was unloaded by the integrated development environment (IDE).
[System.Runtime.InteropServices.Guid("289E9AF2-4973-11D1-AE81-00A0C90F26F4")] public enum ext_DisconnectMode
The add-in was unloaded when Visual Studio was shut down.
The add-in was unloaded when the solution was closed.
The add-in was unloaded after the user interface was set up.
The add-in was unloaded while Visual Studio was running.
Add-ins are deprecated. For more information, see FAQ: Converting Add-ins to VSPackage Extensions.