Click or drag to resize

wclPowerStateChangedMessage Class

The Power State Changed message class.
Inheritance Hierarchy
SystemObject
  wclCommonwclMessage
    wclCommonwclSystemCategoryMessage
      wclCommonwclPowerStateChangedMessage

Namespace: wclCommon
Assembly: wclCommon (in wclCommon.dll) Version: 8.0.6.0
Syntax
public sealed class wclPowerStateChangedMessage : wclSystemCategoryMessage

The wclPowerStateChangedMessage type exposes the following members.

Constructors
 NameDescription
Public methodwclPowerStateChangedMessage Creates new Power State Changed message object.
Top
Properties
 NameDescription
Public propertyCategory Gets the message category ID.
(Inherited from wclMessage)
Public propertyCreated Gets message created timestamp.
(Inherited from wclMessage)
Public propertyId Gets the message ID.
(Inherited from wclMessage)
Public propertyProcessed Gets the message processed timestamp.
(Inherited from wclMessage)
Public propertyQueued Gets the message queued timestamp.
(Inherited from wclMessage)
Public propertyState Gets the power state.
Top
Methods
 NameDescription
Public methodAddRef Increments the reference count for the message object. This method should be called for every new reference to the message 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 The method called when the message object is destroying.
(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 the message object.
(Inherited from wclMessage)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
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.
See Also