Udostępnij za pośrednictwem


ext_DisconnectMode Enumeration

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

Namespace:  Extensibility
Assembly:  Extensibility (in Extensibility.dll)

Syntax

'Declaration
<GuidAttribute("289E9AF2-4973-11D1-AE81-00A0C90F26F4")> _
Public Enumeration ext_DisconnectMode
'Usage
Dim instance As ext_DisconnectMode
[GuidAttribute("289E9AF2-4973-11D1-AE81-00A0C90F26F4")]
public enum ext_DisconnectMode
[GuidAttribute(L"289E9AF2-4973-11D1-AE81-00A0C90F26F4")]
public enum class ext_DisconnectMode
public enum ext_DisconnectMode

Members

Member name Description
ext_dm_HostShutdown The add-in was unloaded when Visual Studio was shut down.
ext_dm_UserClosed The add-in was unloaded while Visual Studio was running.
ext_dm_UISetupComplete The add-in was unloaded after the user interface was set up.
ext_dm_SolutionClosed The add-in was unloaded when the solution was closed.

Remarks

ext_DisconnectMode is similar to ext_ConnectMode in that it allows an add-in to dynamically alter its behavior based on the current circumstances. In this case, how it was unloaded from Visual Studio.

See Also

Reference

Extensibility Namespace