The Life Cycle of an Add-in
Add-ins progress through a sequence of events every time they are loaded or unloaded in their application host. Each of these events is represented by a method defined on the IDTExtensibility2 interface. These methods are documented in Table 15.1.
Table 15.1 IDTExtensibility2 Methods
The diagrams in Figure 15.7 and Figure 15.8 show how these methods (which really represent events) fall onto the normal load and unload path for an add-in.
Figure 15.7 Load sequence of events.
Figure 15.8 Unload sequence of events.
If you ...