ElectronicJournal.ErrorEvent Event (POS for .NET v1.12 SDK Documentation)
2/27/2008
Notifies the application that an Electronic Journal error has been detected and that 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
Raised by the service object, notifies the application that an Electronic Journal device error has been detected and that a suitable response by the application is necessary to process the error condition.
ErrorEvent event notifications are delivered if the following conditions are true:
When the PosPrinter or FiscalPrinter device asynchronously performs printing jobs which include writing to the Electronic Journal media and this writing fails.
When the QueryContent method fails in asynchronous mode.
When one of the methods InitializeMedium, EraseMedium, PrintContent, or PrintContentFile - is performed in asynchronous mode and fails.
See Also
Reference
ElectronicJournal Class
ElectronicJournal Members
Microsoft.PointOfService Namespace