IVsExtensionManager.RestartRequired Property


Denotes whether the extension manager service has performed an operation that requires a restart.

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

RestartReason RestartRequired { get; }

Property Value

Type: Microsoft.VisualStudio.ExtensionManager.RestartReason

PendingDisable if a restart is required to disable the extension.

PendingEnable if a restart is required to enable the extension.

PendingUninstall if a restart is required to uninstall the extension.

None if a restart is not required.

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

Return to top