tools/VsIdeHostAdapter/TargetAddIn/HostSide/VsIdeHostAddin.cs
/// <summary>Implements the OnDisconnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being unloaded.</summary>
/// <param term='disconnectMode'>Describes how the Add-in is being unloaded.</param>
/// <param term='custom'>Array of parameters that are host application specific.</param>
/// <seealso class='IDTExtensibility2' />
Implements the OnDisconnection method of the IDTExtensibility2 interface. Receives notification that the Add-in is being unloaded.
Describes how the Add-in is being unloaded.
Array of parameters that are host application specific.
Implements the OnDisconnection method of the IDTExtensibility2 interface . Receives notification that the Add - in is being unloaded . Describes how the Add - in is being unloaded . Array of parameters that are host application specific .
[CLSCompliant(false)]
        [SuppressMessage("Microsoft.Naming", "CA1725:ParameterNamesShouldMatchBaseDeclaration", MessageId = "0#")]
        public void OnDisconnection(ext_DisconnectMode disconnectMode, ref Array custom)
        {
            RemotingServices.Disconnect(m_debugger);
            CleanupChannels();
        }
[ CLSCompliant ( false ) ] [ SuppressMessage ( " " , " " , MessageId = " " ) ] public void OnDisconnection ( ext_DisconnectMode disconnectMode , ref Array custom ) { RemotingServices . Disconnect ( m_debugger ) ; CleanupChannels ( ) ; }
<summary>Implements the OnDisconnection method of the IDTExtensibility2 interface.
<summary > Implements the OnDisconnection method of the IDTExtensibility2 interface .
disconnectMode
ext_DisconnectMode
Array
ref