Share via


RemoteOrderDisplay.ClearInput Method

2/27/2008

Clears the device input that has been buffered for the unit specified by the CurrentUnitId property.

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

Syntax

'Declaration
Public MustOverride Sub ClearInput
public abstract void ClearInput ()
public:
virtual void ClearInput () abstract
public abstract void ClearInput ()
public abstract function ClearInput ()

Remarks

Any data events that are queued, usually waiting for DataEventEnabled to be set to true and FreezeEvents to be set to false, are also cleared.

ClearInput may cause a PosControlException exception to be thrown with the following ErrorCode:

Value

Description

Claimed

The device is claimed by another process.

NotClaimed

The device must be claimed before ClearInput can be used.

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

RemoteOrderDisplay Class
RemoteOrderDisplay Members
Microsoft.PointOfService Namespace
CurrentUnitId