Click or drag to resize

wclPowerEventsMonitor Methods

The wclPowerEventsMonitor type exposes the following members.

Methods
 NameDescription
Protected methodDoPowerStateChanged Calls the OnChanged event.
Protected methodDoStarted Calls the OnStarted event.
(Inherited from wclSystemEventsMonitor)
Protected methodDoStopped Calls the OnStopped event.
(Inherited from wclSystemEventsMonitor)
Public methodEqualsDetermines whether the specified Object is equal to the current Object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as a hash function for a particular type.
(Inherited from Object)
Public methodGetPowerStatus Retrieves the power status of the system. The status indicates whether the system is running on AC or DC power, whether the battery is currently charging, how much battery life remains, and if battery saver is on or off.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodStart Opens the system events monitor and starts listening for events.
(Inherited from wclSystemEventsMonitor)
Public methodStop Stops listening for system events and releases all resources.
(Inherited from wclSystemEventsMonitor)
Protected methodSystemMessageReceived The method called when a system message is received.
(Overrides wclSystemEventsMonitorSystemMessageReceived(wclSystemCategoryMessage))
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also