Share via


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

2/27/2008

Raised by the service object to notify the application that a point card error has been detected and a suitable response by the application is necessary to process the error condition.

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

Syntax

'Declaration
Public Event ErrorEvent As DeviceErrorEventHandler
public abstract event DeviceErrorEventHandler ErrorEvent
public:
virtual event DeviceErrorEventHandler^ ErrorEvent {
    void add (DeviceErrorEventHandler^ value) abstract;
    void remove (DeviceErrorEventHandler^ value) abstract;
}
/** @event */
public abstract void add_ErrorEvent (DeviceErrorEventHandler value)

/** @event */
public abstract void remove_ErrorEvent (DeviceErrorEventHandler value)

Remarks

Input error events are generated when errors occur while they read the magnetic track data from a newly inserted card. Input error events are not delivered until DataEventEnabled is true so that correct application sequencing occurs.

The error information data is put in ReadState property before this event is delivered. The RecvLength property is set to 0 for each track that had an error and the TrackXData property is set to empty for each track that had an error.

Output error events are generated and delivered when an error occurs during asynchronous PrintWrite processing. The errors are put into the WriteState property before the event is delivered.

See Also

Reference

PointCardRW Class
PointCardRW Members
Microsoft.PointOfService Namespace
Status, Result Code, and State Model
PointCardRW.ReadState Property
PointCardRW.RecvLength Property
PointCardRW.Track1Data Property
PointCardRW.Track2Data Property
PointCardRW.Track3Data Property
PointCardRW.Track4Data Property
PointCardRW.Track5Data Property
PointCardRW.Track6Data Property
PointCardRW.WriteState Property