PowerState.OnSleepChange Event

Notifies listeners when a sleep event occurs.

Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)

Syntax

public static event SleepChangeEventHandler OnSleepChange

Remarks

The listeners will be notified prior to a sleep event and when the system wakes from a sleep.

Version Information

Available in the .NET Micro Framework versions 4.0 and 4.1.

See Also

Reference

PowerState Class
PowerState Members
Microsoft.SPOT.Hardware Namespace