RestartReason Enumeration

List of reasons for which the Extension Manager may require a restart.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration RestartReason
[FlagsAttribute]
public enum RestartReason
[FlagsAttribute]
public enum class RestartReason
[<FlagsAttribute>]
type RestartReason
public enum RestartReason

Members

Member name Description
None
PendingEnable
PendingDisable
PendingUninstall

Remarks

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

See Also

Reference

Microsoft.VisualStudio.ExtensionManager Namespace