Share via


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

2/27/2008

Raised to indicate an error has been detected while trying to read keyboard device input data.

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

The ErrorLocus property can hold one of the following values.

Value

Meaning

Input

Error occurred while collecting or processing event-driven input. No input data is available.

InputData

Error occurred while collecting or processing event-driven input, and some previously buffered data is available.

The ErrorResponse property is preset by the service object to a default value, based on the ErrorLocus. The application may change it to one of the following values.

Value

Meaning

Clear

Clears the buffered input data. Typically, the application has called the ClearInput method to clear all input buffers and queued events. The error state is then exited.

Default when locus is Input.

ContinueInput

Uses only when locus is InputData. Acknowledges the error and directs the service object to continue to process. The service object remains in the error state and delivers additional data events as directed by the DataEventEnabled property. When all input has been delivered and the DataEventEnabled property is again set to true, then another ErrorEvent is delivered with locus Input.

Default when locus is InputData.

Note

ErrorEvent events are not delivered until the application has set the DataEventEnabled property to true. This indicates that it is ready to receive more input.

See Also

Reference

CheckScanner Class
CheckScanner Members
Microsoft.PointOfService Namespace
DeviceErrorEventHandler
DeviceErrorEventArgs
CheckScanner.DataEventEnabled Property