Freigeben über


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)

Syntax

'Declaration
Sub RevertUninstall ( _
    extension As IInstalledExtension _
)
void RevertUninstall(
    IInstalledExtension extension
)
void RevertUninstall(
    IInstalledExtension^ extension
)
abstract RevertUninstall : 
        extension:IInstalledExtension -> unit
function RevertUninstall(
    extension : IInstalledExtension
)

Parameters

Remarks

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.

.NET Framework Security

See Also

Reference

IVsExtensionManager Interface

Microsoft.VisualStudio.ExtensionManager Namespace