Click or drag to resize

wclPowerStateChangeMessage Class

The Power State Changed message is broadcast to all subscribers when changes in the power state have been detected. The message ID is WCL_MSG_ID_SYS_POWER_STATE_CHANGED.
Inheritance Hierarchy
SystemObject
  wclCommonwclMessage
    wclCommonwclSystemCategoryMessage
      wclCommonwclPowerStateChangeMessage

Namespace: wclCommon
Assembly: wclCommon (in wclCommon.dll) Version: 7.11.9.0 (7.11.9.0)
Syntax
public class wclPowerStateChangeMessage : wclSystemCategoryMessage

The wclPowerStateChangeMessage type exposes the following members.

Constructors
 NameDescription
Public methodwclPowerStateChangeMessage Creates new Power State Changed message object.
Top
Properties
 NameDescription
Public propertyCategory Gets the message category ID.
(Inherited from wclMessage)
Public propertyId Gets the message ID.
(Inherited from wclMessage)
Public propertyState Gets the current power state.
Top
Methods
 NameDescription
Public methodAddRef Increments the reference count of the object. This method should be called for every new reference to the object.
(Inherited from wclMessage)
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)
Protected methodFree Frees the message object.
(Inherited from wclMessage)
Public methodGetHashCodeServes as a hash function for a particular type.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRelease Decrements the reference count for an object.
(Inherited from wclMessage)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
This message is supported on Windows 8 and above.
See Also