Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AddInBase.Shutdown Event

Occurs when the add-in is about to be unloaded.

Namespace:  Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common.v4.0.Utilities (in Microsoft.Office.Tools.Common.v4.0.Utilities.dll)

public event EventHandler Shutdown

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 Application-Level Add-Ins.

© 2015 Microsoft