Share via


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)

Syntax

'Declaration
ReadOnly Property RestartRequired As RestartReason
    Get
RestartReason RestartRequired { get; }
property RestartReason RestartRequired {
    RestartReason get ();
}
abstract RestartRequired : RestartReason
function get RestartRequired () : RestartReason

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.

Remarks

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

.NET Framework Security

See Also

Reference

IVsExtensionManager Interface

Microsoft.VisualStudio.ExtensionManager Namespace