PinPad.ErrorEvent Event (POS for .NET v1.12 SDK Documentation)
2/27/2008
Raised by the service object when an error is detected while trying to perform a PIN encryption function.
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 DataEventArgs.ErrorCode property can be one of the following:
Value |
Meaning |
Extended |
The DataEventArgs.ErrorCodeExtended property is set to ExtendedErrorBadKey: an encryption key is corrupted or missing. |
Other Values |
See ErrorCode and ErrorCodeExtended properties. |
The DataEventArgs.ErrorLocus property can be set to:
Value |
Meaning |
Input |
An error occurred while gathering or processing event-driven input. No input data is available. |
The contents of the DataEventArgs.ErrorResponse property are preset to a default value, based on the DataEventArgs.ErrorLocus:
Value |
Meaning |
Clear |
Clear the buffered input data. The error state is exited. |
See Also
Reference
PinPad Class
PinPad Members
Microsoft.PointOfService Namespace
PosCommon.ErrorEvent
PinPad.ExtendedErrorBadKey Field
DeviceErrorEventArgs Class
DeviceErrorEventHandler Delegate