ext_DisconnectMode Enum

Definition

Informs the add-in about how it was unloaded by the integrated development environment (IDE).

public enum class ext_DisconnectMode
public enum class ext_DisconnectMode
enum ext_DisconnectMode
[System.Runtime.InteropServices.Guid("289E9AF2-4973-11D1-AE81-00A0C90F26F4")]
public enum ext_DisconnectMode
[<System.Runtime.InteropServices.Guid("289E9AF2-4973-11D1-AE81-00A0C90F26F4")>]
type ext_DisconnectMode = 
Public Enum ext_DisconnectMode
Inheritance
ext_DisconnectMode
Attributes

Fields

ext_dm_HostShutdown 0

The add-in was unloaded when Visual Studio was shut down.

ext_dm_SolutionClosed 3

The add-in was unloaded when the solution was closed.

ext_dm_UISetupComplete 2

The add-in was unloaded after the user interface was set up.

ext_dm_UserClosed 1

The add-in was unloaded while Visual Studio was running.

Remarks

Add-ins are deprecated. For more information, see FAQ: Converting Add-ins to VSPackage Extensions.

Applies to