Compartir a través de


InstallCompletedEventArgs.RestartRequired Property

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

States whether a restart is required.

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

Syntax

'Declaration
Public ReadOnly Property RestartRequired As Boolean
public bool RestartRequired { get; }
public:
property bool RestartRequired {
    bool get ();
}
member RestartRequired : bool with get
function get RestartRequired () : boolean

Property Value

Type: System.Boolean
true if a restart is required; otherwise, false.

Remarks

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.

.NET Framework Security

See Also

Reference

InstallCompletedEventArgs Class

Microsoft.VisualStudio.ExtensionManager Namespace