.NET Micro Framework 3.0
Puts the device into a sleep state that is only awoken by the specified events.
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)
This method puts the device into a sleep state that is only awoken by the events described in wakeUpEvents. If the event HardwareEvent.SystemTimer is not used, the system will not be woken up by any managed timers, and other threads will not be executed until this sleep call exits.
This method raises the OnSleepChange event.
The MaximumTimeToActive property contains the timeout value for this call.