Table of Contents

Class CharacteristicUnexpectedWriteNotifyException

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

Represents an exception that occurs when an unexpected write notification is received.

public class CharacteristicUnexpectedWriteNotifyException : CharacteristicNotifyException, ISerializable
Inheritance
CharacteristicUnexpectedWriteNotifyException
Implements
Inherited Members

Constructors

CharacteristicUnexpectedWriteNotifyException(IBluetoothRemoteCharacteristic, string, Exception?)

Initializes a new instance of the CharacteristicUnexpectedWriteNotifyException class.

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