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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.