Share via


BumpBar.ClearOutput Method

2/27/2008

Clears all buffered tone outputs.

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

Syntax

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

Remarks

Clears the tone outputs that have been buffered. This includes asynchronous output for the unit specified by the CurrentUnitId property.

Any output complete and output error events that are queued, usually waiting for the DataEventEnabled property to be set to true and the FreezeEvents property to be set to false, are also cleared.

The ClearOutput method may cause a PosControlException exception to be thrown with the following ErrorCodes.

Value

Meaning

Claimed

The device is claimed by another process.

NotClaimed

The device must be claimed before ClearOutput 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

BumpBar Class
BumpBar Members
Microsoft.PointOfService Namespace
CurrentUnitId
BumpBar.ClearInput Method
DataEventEnabled