
- 298 -
Shutdown
Shuts down the power in such a way that the next time the system is turned ON, it will start up in
the mode specified by the parameter.
■ Syntax
[VB]
Public Shared Sub Shutdown _
(ByVal mode As EN_SHUTDOWN_MODE)
[C#]
public static void Shutdown(EN_SHUTDOWN_MODE mode)
■ Parameters
mode
[in] Mode to be entered at the time of start-up
Parameter values
: As listed in EN_SHUTDOWN_MODE
EN_SHUTDOWN_MODE.COLD is only valid on units running on
Windows CE 5.0.
■ Return value
None
■ Exceptions
Name of Exception Meaning
ArgumentException The specified mode is invalid.
■ Note
After warm booting After cold booting
Files in the FLASH folder Retained Retained
Files in the RAM Retained Lost
Contents of the Registry Retained Lost (*)
Data being edited Lost Lost
(*) If the Registry has been backed up, the backup copy will be used.
Kommentare zu diesen Handbüchern