Share via


BumpBar.EventUnits Property

Contains a bitwise mask of the unit(s) when some events are delivered.

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

Usage

'Usage
Dim bumpBar1 As BumpBar

Dim returnValue As DeviceUnits
returnValue = bumpBar1.EventUnits

Syntax

'Declaration
Public MustOverride ReadOnly Property EventUnits() As DeviceUnits
public abstract DeviceUnits EventUnits {get;}
public: property virtual DeviceUnits^ EventUnits{
    DeviceUnits^ get();
}
public abstract DeviceUnits get_EventUnits();
public abstract function get EventUnits() : DeviceUnits;

Remarks

When an OutputCompleteEvent, ErrorEvent, or StatusUpdateEvent occurs, EventUnits contains a bitwise mask of the unit(s).

EventUnits is typically initialized to Unit1. It should then be 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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

BumpBar Class
BumpBar Members
Microsoft.PointOfService Namespace
OutputCompleteEvent
ErrorEvent
StatusUpdateEvent