[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Provides power management functionality and events.

The following tables list the members exposed by the PowerManager type.

Public Methods

  NameDescription
CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Hibernate
Puts the system into hibernation.

InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
SetThreadExecutionState
Sets the ExecutionState for the current thread.

Sleep
Puts the system into sleep mode.

ToString
Returns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component.)

Protected Methods

  NameDescription
Dispose
Cleans up.
(Overrides .Dispose(Boolean).)
Finalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
GetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
MemberwiseClone
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
OnBatteryLow
Raises the BatteryLow event.

OnResume
Raises the Resume event.

OnResumeSuspend
Raises the ResumeSuspend event.

OnScreenSave
Raises the ScreenSave event.

OnStandBy
Raises the StandBy event.

OnStandingBy
Raises the StandingBy event.

OnSuspend
Raises the Suspend event.

OnSuspending
Raises the Suspending event.

Public Constructors

  NameDescription
PowerManagerNewOverloaded.

Public Properties

  NameDescription
Container
Gets the IContainer that contains the Component.
(Inherited from Component.)
Site
Gets or sets the ISite of the Component.
(Inherited from Component.)

Protected Properties

  NameDescription
CanRaiseEvents
Gets a value indicating whether the component can raise an event.
(Inherited from Component.)
DesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Events
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)

Public Events

  NameDescription
BatteryLow
Occures when the battery is low.

Disposed
Occurs when the component is disposed by a call to the Dispose() method.
(Inherited from Component.)
Resume
Occurs when the system resumes from standby.

ResumeSuspend
Occurs when the system resumes from a suspended state.

ScreenSave
Occures when the system is about to activate the screen saver.

StandBy
Occures when the system is about to stand by.

StandingBy
Occures when a request for the system to stand by has been made.

Suspend
Occures when the system is about to be suspended.

Suspending
Occures when a request for the system to be suspended has been made.