RegistryState Constructor (String, Boolean)

3/29/2010

Creates a new instance of the RegistryState class, using persisted (saved) state values of a previous instance. This persisted RegistryState object is uniquely identified by the applicationLaunchId.

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

Syntax

public RegistryState (
    string applicationLaunchId,
    bool useFormThread
)
'Declaration
Public Sub New ( _
    applicationLaunchId As String, _
    useFormThread As Boolean _
)

Parameters

  • applicationLaunchId
    The unique ID of the RegistryState to load.
  • 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.

Remarks

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

See Also

Reference

RegistryState Class
RegistryState Members
Microsoft.WindowsMobile.Status Namespace