Compartilhar via


SystemState Constructor (SystemProperty, Boolean)

3/29/2010

Constructs a SystemState object that gives read-only access to the property.

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

Syntax

public SystemState (
    SystemProperty property,
    bool useFormThread
)
'Declaration
Public Sub New ( _
    property As SystemProperty, _
    useFormThread As Boolean _
)

Parameters

  • property
    property of interest
  • useFormThread
    Use the application's Form thread to process events. You need to use the application's Form thread to be able to manipulate UI from within an event. If your application does not contain a form, then this should be set to false.

See Also

Reference

SystemState Class
SystemState Members
Microsoft.WindowsMobile.Status Namespace