RestartManagerRebootReason Enum

Describes why a system restart is required to free the resources registered with a Restart Manager session.

[Flags]
public enum RestartManagerRebootReason

Remarks

Any value other than RestartManagerRebootReason.None means the Restart Manager cannot free the registered resources by shutting applications down, and that a system restart is required instead.

Fields

NameValueDescription
None0A system restart is not required.
PermissionDenied1The current process does not have enough privileges to shut down one or more of the applications.
SessionMismatch2One or more of the applications is running in a different Terminal Services session.
CriticalProcess4One or more of the applications is a critical process.
CriticalService8One or more of the applications is a critical service.
DetectedSelf16The current process is using one of the registered resources itself.