CheckScannerBase Class (POS for .NET v1.12 SDK Documentation)

2/27/2008

Contains most of the functionality for support of check scanner devices.

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

Syntax

'Declaration
Public MustInherit Class CheckScannerBase
    Inherits CheckScannerBasic
public abstract class CheckScannerBase : CheckScannerBasic
public ref class CheckScannerBase abstract : public CheckScannerBasic
public abstract class CheckScannerBase extends CheckScannerBasic
public abstract class CheckScannerBase extends CheckScannerBasic

Remarks

The CheckScannerBase class derives from CheckScannerBasic class and contains most of the functionality for support of check scanner devices. When deriving from CheckScannerBase, service objects should implement the CheckHealth and DirectIO methods.

The CheckScannerBase class provides the core functionality for opening, claiming, and enabling check scanner devices. Typically, though, service objects will want to override these methods to add their own custom processing. (An example would be to update device statistics during the Open method, or to bring the device online when the application enables it.) When overriding these methods, the service object must call the base class implementation.

Inheritance Hierarchy

System.Object
   Microsoft.PointOfService.PosDevice
     Microsoft.PointOfService.PosCommon
       Microsoft.PointOfService.CheckScanner
         Microsoft.PointOfService.BasicServiceObjects.CheckScannerBasic
          Microsoft.PointOfService.BaseServiceObjects.CheckScannerBase

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

CheckScannerBase Members
Microsoft.PointOfService.BaseServiceObjects Namespace