StateBase Members

3/29/2010

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.

Top

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.

Top

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 )

Top

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 )

Top

Public Events

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

Top

See Also

Reference

StateBase Class
Microsoft.WindowsMobile.Status Namespace