Managed DirectShow Programming Reference

PowerManager Members

PowerManager overview

Public Instance Constructors

PowerManager Overloaded. Initializes a new instance of the PowerManager class.

Public Instance Properties

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

Public Instance Methods

CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from Component)Overloaded. Releases all resources used by the Component.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
HibernatePuts the system into hibernation.
InitializeLifetimeService (inherited from MarshalByRefObject)Obtains a lifetime service object to control the lifetime policy for this instance.
SetThreadExecutionStateSets the ExecutionState for the current thread.
SleepPuts the system into sleep mode.
ToString (inherited from Component)Returns a String containing the name of the Component, if any. This method should not be overridden.

Public Instance Events

BatteryLowOccures when the battery is low.
Disposed (inherited from Component)Adds an event handler to listen to the Disposed event on the component.
ResumeOccurs when the system resumes from standby.
ResumeSuspendOccurs when the system resumes from a suspended state.
ScreenSaveOccures when the system is about to activate the screen saver.
StandByOccures when the system is about to stand by.
StandingByOccures when a request for the system to stand by has been made.
SuspendOccures when the system is about to be suspended.
SuspendingOccures when a request for the system to be suspended has been made.

Protected Instance Properties

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

Protected Instance Methods

DisposeOverloaded. Cleans up.
Finalize (inherited from Component)Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
GetService (inherited from Component)Returns an object that represents a service provided by the Component or by its Container.
MemberwiseClone (inherited from MarshalByRefObject)Overloaded. Creates a shallow copy of the current MarshalByRefObject object.
MemberwiseClone (inherited from Object)Overloaded. Creates a shallow copy of the current Object.
OnBatteryLowRaises the BatteryLow event.
OnResumeRaises the Resume event.
OnResumeSuspendRaises the ResumeSuspend event.
OnScreenSaveRaises the ScreenSave event.
OnStandByRaises the StandBy event.
OnStandingByRaises the StandingBy event.
OnSuspendRaises the Suspend event.
OnSuspendingRaises the Suspending event.

See Also

PowerManager Class | KvTv.Components Namespace