ErrorCode Enumeration
Indicates the type of error.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Usage
'Usage
Dim errorCode1 As ErrorCode = ErrorCode.Busy
Syntax
'Declaration
Public Enum ErrorCode
public enum ErrorCode
public enum class ErrorCode
public enum ErrorCode
public enum ErrorCode
Members
Member name | Description |
---|---|
Busy | The current state does not allow this request. For example, if asynchronous output is in progress, certain methods may not be allowed. |
Claimed | The device is opened but not claimed. Another application has the device claimed, so it cannot be claimed at this time. |
Closed | The device must be opened. |
Disabled | The device is opened and claimed (if this is an exclusive use device), but not enabled. |
Exists | The file name (or other specified value) already exists. |
Extended | A device category-specific error condition occurred. The error condition code is held in an extended error code. |
Failure | The device cannot perform the requested procedure, even though the physical device is connected to the system, powered on, and on-line. |
Illegal | An attempt was made to perform an illegal or unsupported operation with the device, or an invalid parameter value was used. |
NoExist | The file name (or other specified value) does not exist. |
NoHardware | The physical device is not connected to the system or is not powered on. |
NoService | The control cannot communicate with the service object, normally because of a setup or configuration error. |
NotClaimed | The device is opened but not claimed. No other application has the device claimed, so it can and must be claimed. |
Offline | The physical device is off-line. |
Success | No error occurred. |
Timeout | The service object timed out waiting for a response from the physical device, or the control timed out waiting for a response from the service object. |
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000