Class CharacteristicAlreadyReadingException
- Namespace
- Bluetooth.Abstractions.Scanning.Exceptions
- Assembly
- Bluetooth.Abstractions.Scanning.dll
Represents an exception that occurs when a characteristic is already being read.
public class CharacteristicAlreadyReadingException : CharacteristicReadException, ISerializable
- Inheritance
-
CharacteristicAlreadyReadingException
- Implements
- Inherited Members
Constructors
CharacteristicAlreadyReadingException(IBluetoothRemoteCharacteristic, string, Exception?)
Initializes a new instance of the CharacteristicAlreadyReadingException class.
public CharacteristicAlreadyReadingException(IBluetoothRemoteCharacteristic remoteCharacteristic, string message = "Characteristic is already reading", 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.