Initializes a new instance of the IOException class, and associates a Device with it.
Namespace: HidSharp
Assembly: HidSharp (in HidSharp.dll) Version: 2.0.0
Syntax
public static IOException CreateIOException( Device device, string message, int hresult )
Parameters
- device
- Type: HidSharpDevice
The device that caused the exception. - message
- Type: SystemString
A description of the error. - hresult
- Type: SystemInt32
An integer identifying the error that has occurred.
Return Value
Type: IOExceptionThe new IOException.
See Also