Export (0) Print
Expand All

IVsExtensionManager.RevertUninstall Method

Reverts an uninstalled extension to an installed state.

Namespace:  Microsoft.VisualStudio.ExtensionManager
Assembly:  Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)

void RevertUninstall(
	IInstalledExtension extension


Type: Microsoft.VisualStudio.ExtensionManager.IInstalledExtension
An extension that was passed to the Uninstall API.

Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.

This API only succeeds for extensions that have been uninstalled through the Uninstall API. Furthermore, this API must be called before Extension Manager is restarted because pending uninstallations are cleaned up during initialization. Otherwise, a NotPendingDeletionException will be thrown.

Community Additions

© 2015 Microsoft