IVsExtensionManager.RestartRequired Property
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
声明
ReadOnly Property RestartRequired As RestartReason
RestartReason RestartRequired { get; }
property RestartReason RestartRequired {
RestartReason get ();
}
abstract RestartRequired : RestartReason
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
- 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.