Share via


BumpBar.ErrorEvent Event

2/27/2008

Raised by the service object to notify the application that a bump bar 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

The ErrorLocus property can be one of the following values.

Value

Description

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.

Output

Error occurred when it processes asynchronous output.

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

Value

Description

Clear

Clear all buffered output data (including all asynchronous output) or buffered input data. The error state is exited.

Default when locus is Input.

ContinueInput

Use 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 DataEvent events as directed by the DataEventEnabled property. When all input has been delivered and the DataEventEnabled property is again set to true, another ErrorEvent is delivered with locus Input.

Default when locus is InputData.

Retry

Use only when locus is Output. Retry the asynchronous output. The error state is exited.

Default when locus is Output.

ErrorEvent is queued when an error is detected while collecting data from or processing asynchronous output for the bump bar.

Input error events are not delivered until the DataEventEnabled property is true so that suitable application sequencing occurs.

The EventUnits and EventString properties are updated before ErrorEvent is delivered.

See Also

Reference

BumpBar Class
BumpBar Members
Microsoft.PointOfService Namespace
DeviceErrorEventArgs
BumpBar.DataEventEnabled Property
BumpBar.EventUnits Property
BumpBar.EventString Property