Export (0) Print
Expand All

IVsExtensionManager.RevertUninstall Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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
)

Parameters

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

ADD
Show:
© 2014 Microsoft