General area in which the failure occurred. See the UsbError class.
|C#||Visual Basic||Visual C++|
public enum ErrorCode
Public Enumeration ErrorCode
public enum class ErrorCode
Assembly: LibUsbDotNet (Module: LibUsbDotNet) Version: 126.96.36.199 (188.8.131.52)
No error. (None, Success, and Ok)
The USB device has errors in its Configuration descriptor.
A synchronous device IO operation failed.
A request for a string failed.
A specified endpoint is invalid for the operation.
A request to cancel IO operation failed.
A call to the core Win32 API DeviceIOControl failed.
A call to the core Win32 API GetOverlappedResult failed.
An Endpoints receive thread was dangerously terminated.
A write operation failed.
A read operation failed.
An endpoint 0 IO control message failed.
The action of cancelling the IO operation failed.
An IO operation was cancelled by the user before it completed.
An IO operation timed out before it completed.
An IO operation was cancelled and will be re-submiited when ready.
Failed retrieving a custom USB device key value.
Failed setting a custom USB device key value.
The error is a standard windows error.
An attempt was made to lock a device that is already locked.
An attempt was made to lock an endpoint that is already locked.
The USB device request failed because the USB device was not found.
Operation was intentionally cancelled by the user or application.
Access denied (insufficient permissions).
Pipe error or endpoint halted.
System call interrupted (perhaps due to signal).
Operation not supported or unimplemented on this platform.
Unknown or other error.
The error is one of the MonoUsbError