
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
■ 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.
[Ex.] Switch to suspend.
[VB] PwrMng.Shutdown(PwrMng.EN_SHUTDOWN_MODE.SUSPEND)
[C#] PwrMng.Shutdown(PwrMng.EN_SHUTDOWN_MODE.SUSPEND);
307
Kommentare zu diesen Handbüchern