LogOffMode Enumeration
Specifies the mode to logoff an user session.
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 Enumeration LogOffMode
Dim instance As LogOffMode
public enum class LogOffMode
No code example is currently available or this language may not be supported.
Wait |
0 |
Don't force the system to close the applications.
|
Force |
4 |
This flag has no effect if terminal services is enabled.
Otherwise, the system does not send the WM_QUERYENDSESSION message.
This can cause applications to lose data.
Therefore, you should only use this flag in an emergency.
|
ForceIfHung |
16 |
Forces processes to terminate if they do not respond to the WM_QUERYENDSESSION or
WM_ENDSESSION message within the timeout interval.
|