Share via


BillAcceptor.DataCount Property

2/27/2008

Gets the total number of currently queued DataEvent events at the service object.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property DataCount As Integer
public abstract int DataCount { get; }
public:
virtual property int DataCount {
    int get () abstract;
}
/** @property */
public abstract int get_DataCount ()
public abstract function get DataCount () : int

Remarks

Indicates the total number of currently queued DataEvent events at the service object. All online units are included in this value.

The application can interrogate DataCount to determine whether additional input is queued from a device but has not yet been delivered because of other application processing, freezing of events, or other causes.

DataCount is set and kept current by the service object while the device is enabled.

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

BillAcceptor Class
BillAcceptor Members
Microsoft.PointOfService Namespace
DataEvent