PointCardRW.DataEvent Event
Notifies the application that input data is available from the device.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Usage
'Usage
WithEvents pointCardRW1 As PointCardRW
Function pointCardRW1_DataEvent(sender As Object, _
e As DataEventArgs) As Void
Handles pointCardRW1.DataEvent
End Function
Syntax
'Declaration
Public MustOverride Event DataEvent As DataEventHandler
public abstract event DataEventHandler DataEvent;
public: abstract event DataEventHandler^ DataEvent;
public abstract void add_DataEvent(DataEventHandler handler);
public abstract void remove_DataEvent(DataEventHandler handler);
In JScript, you can handle the events defined by a class, but you cannot define your own.
Remarks
The point card data is placed 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 further data events are delivered until the application sets DataEventEnabled back to TRUE. The actual byte array input data is placed 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 subsequently changed back to TRUE, the event will be delivered immediately if input data is queued and FreezeEvents is FALSE.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
See Also
Reference
PointCardRW Class
PointCardRW Members
Microsoft.PointOfService Namespace
DataEventEnabled
FreezeEvents