StateBase Members


The abstract base of a State class. You can use State classes to query system state values, and then be notified when changes occur.

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

Public Constructors

  Name Description
StateBase Initializes a new instance of the StateBase class.


Public Properties

  Name Description
Aa455718.pubproperty(en-us,MSDN.10).gif ApplicationArguments Gets the arguments passed to the application. Note: The Application Launcher must be enabled.
Aa455718.pubproperty(en-us,MSDN.10).gif ApplicationLaunchId Unique id for the SystemState
Aa455718.pubproperty(en-us,MSDN.10).gif ApplicationToLaunch The string name of the application to launch. Note: The Application Launcher must be enabled.
Aa455718.pubproperty(en-us,MSDN.10).gif BitMask Gets and sets the optional bitmask used in Integer comparisons.
Aa455718.pubproperty(en-us,MSDN.10).gif ComparisonType Gets and sets the type of comparison operation used to generate state condition notifications.
Aa455718.pubproperty(en-us,MSDN.10).gif 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.
Aa455718.pubproperty(en-us,MSDN.10).gif CurrentValue Gets and sets the current value of the system state.


Public Methods

(see also Protected Methods )

  Name Description
Aa455718.pubmethod(en-us,MSDN.10).gif DisableApplicationLauncher Disables the Application Launcher for this instance. It will no longer launch the application that it was associated with.
Aa455718.pubmethod(en-us,MSDN.10).gif EnableApplicationLauncher Overloaded.  
Aa455718.pubmethod(en-us,MSDN.10).gif Equals  Overloaded. (inherited from Object )
Aa455718.pubmethod(en-us,MSDN.10).gif GetHashCode  (inherited from Object )
Aa455718.pubmethod(en-us,MSDN.10).gif GetType  (inherited from Object )
Aa455718.pubmethod(en-us,MSDN.10).gif Aa455718.static(en-us,MSDN.10).gif ReferenceEquals  (inherited from Object )
Aa455718.pubmethod(en-us,MSDN.10).gif ToString  (inherited from Object )


Protected Methods

  Name Description
Aa455718.protmethod(en-us,MSDN.10).gif Finalize  (inherited from Object )
Aa455718.protmethod(en-us,MSDN.10).gif MemberwiseClone  (inherited from Object )


Public Events

  Name Description
Aa455718.pubevent(en-us,MSDN.10).gif Changed Occurs when the system state changes.


See Also


StateBase Class
Microsoft.WindowsMobile.Status Namespace