DeviceException Class

HIDSharp
Inheritance Hierarchy

SystemObject
  HidSharpDeviceException

Namespace:  HidSharp
Assembly:  HidSharp (in HidSharp.dll) Version: 2.6.3
Syntax

public static class DeviceException

The DeviceException type exposes the following members.

Methods

  NameDescription
Public methodStatic memberCreateIOException(Device, String)
Initializes a new instance of the IOException class, and associates a Device with it.
Public methodStatic memberCreateIOException(Device, String, Int32)
Initializes a new instance of the IOException class, and associates a Device with it.
Public methodStatic memberCreateIOExceptionForSharingViolation
Public methodStatic memberCreateUnauthorizedAccessException
Initializes a new instance of the UnauthorizedAccessException class, and associates a Device with it.
Public methodStatic memberGetDevice
Gets the Device associated with the exception, if any.
Top
See Also

Reference