Universal Windows Service Class Library

Monitor Members

Monitor overview

Public Static Methods

Add Add the given monitor object to static monitor list.
Begin Signals the monitors in static monitor list that it could start it's work.
Break Signals the monitors in static monitor list that they should break and pause their work.
Clear Remove all entries from static monitor list.
Create Create a new instance of a specified implemented monitor class.
End Signals the monitors in static monitor list that it should stop it's work.
RemoveOverloaded. Remove the monitor with given name from static monitor list.
Resume Signals the monitors in static monitor list that they should start working again.
SignOff Remove given registered event handler from monitor with given name.
SignOn Register given event handler at monitor with given name.

Public Instance Properties

IsConfigured Get the flag if monitor is configured or not.
IsPaused Get the flag if monitor is paused or not.
IsRunning Get the flag if monitor is running or not.

Public Instance Methods

Configure Configures the monitor from an xml element.
Continue Signals the monitor that it could start working again.
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, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
Pause Signals the monitor that it could break and pause it's work.
Start Signals the monitor that it could start it's work.
Stop Signals the monitor that it should stop it's work.
ToString (inherited from Object) Returns a String that represents the current Object.

Public Instance Events

Event Event which will occures if monitor matches.

Protected Instance Constructors

Monitor Constructor Initializes a new instance of the Monitor class.

Protected Instance Fields

m_appList Referenced event list which contains already running applications.
m_configured Flag if configuration of the monitor is already done or not.
m_name The name of the monitor.
m_paused Flag if monitor is paused or not.
m_running Flag if monitor is running or not.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnEvent Function will be called when the monitor event should be fired.

See Also

Monitor Class | uws.Monitors Namespace | IMonitor