AddInBase.Shutdown Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when the add-in is about to be unloaded.
public:
event EventHandler ^ Shutdown;
public event EventHandler Shutdown;
member this.Shutdown : EventHandler
Public Custom Event Shutdown As EventHandler
Event Type
Remarks
Use the default Shutdown event handler in the ThisAddIn
class, instead of creating your own event handler for this event. The default Shutdown event handler is named ThisAddIn_Shutdown
.
In Outlook 2010, the Shutdown event is not raised when Outlook exits. However, this event is raised when the user disables the add-in by using the COM Add-ins dialog box in Outlook.
For more information, see Events in Office Projects. For more information about the ThisAddIn
class, see Programming VSTO Add-Ins.