Share via


RemoteOrderDisplay.ErrorEvent Event

2/27/2008

Notifies the application that a remote order display 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 DeviceErrorEventArgs.ErrorLocus property can be one of the following:

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 while processing asynchronous output.

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

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 will deliver additional DataEvent 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.

Retry

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

Default when locus is Output.

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

The EventUnits and EventString properties are updated before the event is delivered.

See Also

Reference

RemoteOrderDisplay Class
RemoteOrderDisplay Members
Microsoft.PointOfService Namespace
RemoteOrderDisplay.DataEventEnabled Property
RemoteOrderDisplay.EventUnits Property
RemoteOrderDisplay.EventString Property