![]() | PipeStreamReadTimeout Property |
Namespace: WinUsbNet
The time, in milliseconds, to wait for a read operation to complete. A value of zero means never time out.
Exception | Condition |
---|---|
IOException | The UsbDevice is not open. |
NotSupportedException | The PipeStream does not support reading. |
The initial value of ReadTimeout is set to the value of the DefaultReadTimeout property on the parent UsbDevice at the time its Open method is called.
If a read operation times out, Win32Exception is thrown with NativeErrorCode set to 0x00000079.