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
localServiceIBluetoothLocalServiceThe Bluetooth service associated with the exception.
innerExceptionExceptionThe 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
localServiceIBluetoothLocalServiceThe Bluetooth service associated with the exception.
idGuidThe id of the characteristic that was not found.
innerExceptionExceptionThe inner exception that caused the current exception, if any.