Table of Contents

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

remoteCharacteristic IBluetoothRemoteCharacteristic

The Bluetooth characteristic associated with the exception.

message string

A message that describes the error.

innerException Exception

The inner exception that caused the current exception, if any.

See Also