Share via


PosExplorer Constructor (ISynchronizeInvoke) (POS for .NET v1.14 SDK Documentation)

3/2/2014

Creates an instance of the PosExplorer class with the specified parameter and initializes the system.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public Sub New ( _
    synchronizingObject As ISynchronizeInvoke _
)
public PosExplorer (
    ISynchronizeInvoke synchronizingObject
)
public:
PosExplorer (
    ISynchronizeInvoke^ synchronizingObject
)
public PosExplorer (
    ISynchronizeInvoke synchronizingObject
)
public function PosExplorer (
    synchronizingObject : ISynchronizeInvoke
)

Parameters

  • synchronizingObject
    An object that implements the .NET Framework class IsynchronizeInvoke. ISynchronizeInvoke is used to marshal events to a particular thread defined by the object. For more information, see the .NET Framework Library documentation.

Remarks

Use this constructor when you want events from the service object marshaled to a particular thread.

Windows Forms applications are required to update their UI controls only from the main application thread. By passing its main window control to the PosExplorer constructor, an application can guarantee that all PosExplorer and service object events are reported on the main application thread.

For more information about Windows Forms and threading, see the .NET Framework Library documentation.

See Also

Reference

PosExplorer Class
PosExplorer Members
Microsoft.PointOfService Namespace
SynchronizingObject