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