ErrorCode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates the valid types of errors for an error event.
public enum ErrorCode
type ErrorCode =
Public Enum ErrorCode
- Inheritance
-
ErrorCode
Fields
Busy | 113 | The current state does not allow this request. For example: if asynchronous output is in progress, certain methods may not be allowed. |
Claimed | 102 | The device is opened but not claimed. Another application has the device claimed, so it cannot be claimed at this time. |
Closed | 101 | The device must be opened. |
Deprecated | 115 | The method has been deprecated and is no longer available. |
Disabled | 105 | The device is opened and claimed (if this is an exclusive use device), but not enabled. |
Exists | 110 | The file name (or other specified value) already exists. |
Extended | 114 | A device category-specific error condition occurred. The error condition code is held in the exception's ErrorCodeExtended property. |
Failure | 111 | The device cannot perform the requested procedure, even though the physical device is connected to the system, powered on, and on-line. |
Illegal | 106 | An attempt was made to perform an illegal or unsupported operation with the device, or an invalid parameter value was used. |
NoExist | 109 | The file name (or other specified value) does not exist. |
NoHardware | 107 | The physical device is not connected to the system or is not powered on. |
NoService | 104 | The control cannot communicate with the service object, normally because of a setup or configuration error. |
NotClaimed | 103 | The device is opened but not claimed. No other application has the device claimed, so it can and must be claimed. |
Offline | 108 | The physical device is off-line. |
Success | 0 | No error occurred. |
Timeout | 112 | 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. |