Visual Studio 2012
Occurs whenever an add-in is unloaded from Visual Studio.
Assembly: Extensibility (in Extensibility.dll)
'Declaration Sub OnDisconnection ( _ RemoveMode As ext_DisconnectMode, _ ByRef custom As Array _ )
- 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.