PreventShutdownContextReason Property

Gets or sets the reason for which the current application must prevent system shutdown.

Because users are typically in a hurry when shutting down the system, they may spend only a few seconds looking at the shutdown reasons that are displayed by the system. Therefore, it is important that your reason strings are short and clear.

Definition

Namespace: DevCase.Core.IO.Devices.Power
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public string Reason { get; set; }

Property Value

String
The reason for which the current application must prevent system shutdown.

See Also