Table of Contents

Class CharacteristicUnexpectedReadException

Namespace
Bluetooth.Abstractions.Scanning.Exceptions
Assembly
Bluetooth.Abstractions.Scanning.dll

Represents an exception that occurs when an unexpected read operation happens.

public class CharacteristicUnexpectedReadException : CharacteristicReadException, ISerializable
Inheritance
CharacteristicUnexpectedReadException
Implements
Inherited Members

Constructors

CharacteristicUnexpectedReadException(IBluetoothRemoteCharacteristic, string, Exception?)

Initializes a new instance of the CharacteristicUnexpectedReadException class.

public CharacteristicUnexpectedReadException(IBluetoothRemoteCharacteristic remoteCharacteristic, string message = "Unexpected characteristic read 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