InstallCompletedEventArgs.RestartRequired Property


States whether a restart is required.

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

public bool RestartRequired { get; }

Property Value

Type: System.Boolean

true if a restart is required; otherwise, false.

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

A new extension installation typically requires a restart of Visual Studio, but not of Windows.

Return to top