Table of Contents

Class CharacteristicNotFoundException

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

Represents an exception that occurs when attempting to access or remove a characteristic that does not exist in a Bluetooth broadcast service.

public class CharacteristicNotFoundException : ServiceException, ISerializable
Inheritance
CharacteristicNotFoundException
Implements
Inherited Members

Constructors

CharacteristicNotFoundException(IBluetoothLocalService, Exception?)

Initializes a new instance of the CharacteristicNotFoundException class.

public CharacteristicNotFoundException(IBluetoothLocalService localService, Exception? innerException = null)

Parameters

localService IBluetoothLocalService

The Bluetooth service associated with the exception.

innerException Exception

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

CharacteristicNotFoundException(IBluetoothLocalService, Guid, Exception?)

Initializes a new instance of the CharacteristicNotFoundException class.

public CharacteristicNotFoundException(IBluetoothLocalService localService, Guid id, Exception? innerException = null)

Parameters

localService IBluetoothLocalService

The Bluetooth service associated with the exception.

id Guid

The id of the characteristic that was not found.

innerException Exception

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

See Also