The abstract base of a State class.
You can use State classes to query system state values, and then be notified when changes occur.
| C# | Visual Basic |
public abstract class StateBase
Public MustInherit Class StateBase
| All Members | Constructors | Methods | Properties | Events | |
| Icon | Member | Description |
|---|---|---|
| StateBase()()()() |
Initializes a new instance of the StateBase class.
| |
| ApplicationArguments |
Gets the arguments passed to the application.
Note: The Application Launcher must be enabled.
| |
| ApplicationLaunchId |
Unique id for the SystemState.
| |
| ApplicationToLaunch |
The string name of the application to launch.
Note: The Application Launcher must be enabled.
| |
| BitMask |
Gets and sets the optional bitmask used in Integer comparisons.
| |
| Changed |
Occurs when the system state changes.
| |
| ComparisonType |
Gets and sets the type of comparison operation used to generate state condition notifications.
| |
| ComparisonValue |
Gets and sets the comparion value that is used in the generation of Status events. The event occurs when the result of the comparison is true.
| |
| CurrentValue |
Gets and sets the current value of the system state.
| |
| DisableApplicationLauncher()()()() |
Disables the Application Launcher for this instance.
It will no longer launch the application that it was associated with.
| |
| EnableApplicationLauncher(String) |
Enables the Application Launcher for this object, using it’s unique ID.
| |
| EnableApplicationLauncher(String, String) |
Enables the Application Launcher for this object, using it’s unique ID, and the fully qualified path-name of the application to launch.
| |
| EnableApplicationLauncher(String, String, String) |
Enables the Application Launcher for this object, using it’s unique ID, the fully qualified path-name of the application to launch, and any arguments it requires.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| ToString()()()() | (Inherited from Object.) |
| Object | ||
| StateBase | ||
| RegistryState | ||
| SystemState | ||