Partager via


InstallCompletedEventArgs.RestartRequired Property

States whether a restart is required.

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

Syntax

'Déclaration
Public ReadOnly Property RestartRequired As Boolean
    Get
public bool RestartRequired { get; }
public:
property bool RestartRequired {
    bool get ();
}
member RestartRequired : bool
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