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.
Namespace: DevCase.Core.IO.Devices.PowerAssembly: 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; }
Public Property Reason As String
Get
Set
Dim instance As PreventShutdownContext
Dim value As String
value = instance.Reason
instance.Reason = value
public:
property String^ Reason {
String^ get ();
void set (String^ value);
}
member Reason : string with get, set
No code example is currently available or this language may not be supported.
Property Value
String
The reason for which the current application must prevent system shutdown.