DeviceExceptionCreateIOException Method (Device, String)HIDSharp
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
)

Parameters

device
Type: HidSharpDevice
The device that caused the exception.
message
Type: SystemString
A description of the error.

Return Value

Type: IOException
The new IOException.
See Also

Reference