Share via


PointCardRW.DataEvent Event (POS for .NET v1.12 SDK Documentation)

2/27/2008

Raised by the service object to notify the application that input data is available from the device.

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

Syntax

'Declaration
Public Event DataEvent As DataEventHandler
public abstract event DataEventHandler DataEvent
public:
virtual event DataEventHandler^ DataEvent {
    void add (DataEventHandler^ value) abstract;
    void remove (DataEventHandler^ value) abstract;
}
/** @event */
public abstract void add_DataEvent (DataEventHandler value)

/** @event */
public abstract void remove_DataEvent (DataEventHandler value)

Remarks

The point card data is put in each property before this event is delivered.

When this event is delivered to the application, the DataEventEnabled property is changed to false so that no additional data events are delivered until the application sets DataEventEnabled back to true. The actual byte array input data is put in one or more device-specific properties.

If DataEventEnabled is false at the time that data is received, then the data is queued in an internal buffer, the device-specific input data properties are not updated, and the event is not delivered. When DataEventEnabled is later changed back to true, the event will be delivered immediately if input data is queued and FreezeEvents is false.

See Also

Reference

PointCardRW Class
PointCardRW Members
Microsoft.PointOfService Namespace
PointCardRW.DataEventEnabled Property
FreezeEvents