RestartManagerRebootReason Enum
Describes why a system restart is required to free the resources registered with a Restart Manager session.
[Flags]
public enum RestartManagerRebootReasonRemarks
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
| Name | Value | Description |
|---|---|---|
None | 0 | A system restart is not required. |
PermissionDenied | 1 | The current process does not have enough privileges to shut down one or more of the applications. |
SessionMismatch | 2 | One or more of the applications is running in a different Terminal Services session. |
CriticalProcess | 4 | One or more of the applications is a critical process. |
CriticalService | 8 | One or more of the applications is a critical service. |
DetectedSelf | 16 | The current process is using one of the registered resources itself. |