Table of Contents

Class CharacteristicException

Namespace
Bluetooth.Abstractions.Broadcasting.Exceptions
Assembly
Bluetooth.Abstractions.Broadcasting.dll

Represents an exception that occurs in Bluetooth broadcast characteristic operations.

public abstract class CharacteristicException : BluetoothBroadcastingException, ISerializable
Inheritance
CharacteristicException
Implements
Derived
Inherited Members

Remarks

This exception provides information about the Bluetooth broadcast characteristic associated with the error, allowing for easier debugging and tracking of characteristic-related issues.

Constructors

CharacteristicException(IBluetoothLocalCharacteristic, string?, Exception?)

Initializes a new instance of the CharacteristicException class.

protected CharacteristicException(IBluetoothLocalCharacteristic broadcastLocalCharacteristic, string? message = null, Exception? innerException = null)

Parameters

broadcastLocalCharacteristic IBluetoothLocalCharacteristic

The Bluetooth broadcast 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.

Properties

BroadcastLocalCharacteristic

Gets the Bluetooth broadcast characteristic associated with the exception.

public IBluetoothLocalCharacteristic BroadcastLocalCharacteristic { get; }

Property Value

IBluetoothLocalCharacteristic

See Also