We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

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)

[FlagsAttribute]
public enum RestartReason

Member nameDescription
None
PendingEnable
PendingDisable
PendingUninstall

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

Show: