Class CharacteristicReadException
- Namespace
- Bluetooth.Abstractions.Scanning.Exceptions
- Assembly
- Bluetooth.Abstractions.Scanning.dll
Represents an exception that occurs during Bluetooth characteristic read operations.
public class CharacteristicReadException : CharacteristicException, ISerializable
- Inheritance
-
CharacteristicReadException
- Implements
- Derived
- Inherited Members
Constructors
CharacteristicReadException(IBluetoothRemoteCharacteristic, string, Exception?)
Initializes a new instance of the CharacteristicReadException class.
public CharacteristicReadException(IBluetoothRemoteCharacteristic remoteCharacteristic, string message = "Unknown Bluetooth characteristic read exception", Exception? innerException = null)
Parameters
remoteCharacteristicIBluetoothRemoteCharacteristicThe Bluetooth characteristic associated with the exception.
messagestringA message that describes the error.
innerExceptionExceptionThe inner exception that caused the current exception, if any.