RestartManagerShutdownType Enum

Configures the shut down of applications.

[Flags]
public enum RestartManagerShutdownType

Remarks

The Restart Manager documents its shutdown flags as taking one or more of these options, so pass at least one when calling RestartManager.Shutdown.

Fields

NameValueDescription
ForceShutdown1Forces unresponsive applications and services to shut down after the timeout period. An application that does not respond to a shutdown request by the Restart Manager is forced to shut down after 30 seconds. A service that does not respond to a shutdown request is forced to shut down after 20 seconds.
ShutdownOnlyRegistered16Shuts down applications if and only if all the applications have been registered for restart using the RegisterApplicationRestart function. If any processes or services cannot be restarted, then no processes or services are shut down.