Share via


Cat.ErrorEvent Event

Notifies the application that a CAT error has been detected and suitable response by the application is necessary to process the error condition.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Usage

'Usage
WithEvents cat1 As Cat
Function cat1_ErrorEvent(sender As Object, _
    e As DeviceErrorEventArgs) As Void
    Handles cat1.ErrorEvent
End Function

Syntax

'Declaration
Public MustOverride Event ErrorEvent As DeviceErrorEventHandler
public abstract event DeviceErrorEventHandler ErrorEvent;
public: abstract event DeviceErrorEventHandler^ ErrorEvent;
public abstract  void add_ErrorEvent(DeviceErrorEventHandler handler);
public abstract  void remove_ErrorEvent(DeviceErrorEventHandler handler);
In JScript, you can handle the events defined by a class, but you cannot define your own.

Remarks

Fired when an error is detected while processing an asynchronous authorize group method or the AccessDailyLog method. The control's state transitions into the error state.

DeviceErrorEventArgs.ErrorLocus is set to Output.

If ErrorCode is Extended, ErrorCodeExtended is set to one of the following values:

Value

Description

ExtendedErrorCenterError

An error was returned from the approval agency. The detailed error code is defined in CenterResultCode.

ExtendedErrorCommandError

The command sent to CAT is wrong. This error is never returned if the CAT service object is working correctly.

ExtendedErrorReset

CAT was stopped during processing by the CAT reset key or stop key.

ExtendedErrorCommunicationError

A communication error has occurred between the approval agency and CAT.

ExtendedErrorDailyLogOverflow

The daily log was too big to be stored. Updates to the daily log have been stopped and the value of DailyLog property is uncertain.

DeviceErrorEventArgs.ErrorResponse is preset to the default value of Retry. An application can set one of the following values for ErrorResponse:

Value

Description

Retry

Retries the asynchronous processing. The error state is exited.

Clear

Clear the asynchronous processing. The error state is exited.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

Cat Class
Cat Members
Microsoft.PointOfService Namespace
AccessDailyLog
DeviceErrorEventArgs
ErrorResponse