Export (0) Print
Expand All

IDTExtensibility2::OnBeginShutdown Method

Occurs whenever the Visual Studio integrated development environment (IDE) shuts down while an add-in is running.

Namespace:  Extensibility
Assembly:  Extensibility (in Extensibility.dll)

void OnBeginShutdown(
	[InAttribute] Array^% custom


Type: System::Array%

An empty array that you can use to pass host-specific data for use in the add-in.

Although a shutdown of Visual Studio might be canceled, the OnBeginShutdown method cannot be canceled. As a result, add-ins should assume that all shutdown events occur and perform any cleanup routines accordingly.

This method can be used to store the settings of the add-in at the time that Visual Studio shuts down so that it can be restored later to its original state.

No code example is currently available or this language may not be supported.

© 2014 Microsoft