RegistryState Constructor (String, String, Boolean)


Initializes a new instance of the RegistryState class, using the key name, the names of its values, and a value indicating whether to use the application’s form thread to process the events.

Namespace: Microsoft.WindowsMobile.Status
Assembly: Microsoft.WindowsMobile.Status (in microsoft.windowsmobile.status.dll)


public RegistryState (
    string key,
    string valueName,
    bool useFormThread
Public Sub New ( _
    key As String, _
    valueName As String, _
    useFormThread As Boolean _


  • key
    The string value of the registry key.
  • valueName
    The string name of the value.
  • useFormThread
    A value indicating whether to use the application's form thread for event processing. If your application does not contain a form, then set this value to false.


Use the application’s form thread if you want to manipulate the user interface using an event.

See Also


RegistryState Class
RegistryState Members
Microsoft.WindowsMobile.Status Namespace