Partager via


IVsExtensionManager.RestartRequired Property

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

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
RestartReason RestartRequired { get; }
property RestartReason RestartRequired {
    RestartReason get ();
}
abstract RestartRequired : RestartReason with get
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