Class DescriptorNotFoundException
- Namespace
- Bluetooth.Abstractions.Broadcasting.Exceptions
- Assembly
- Bluetooth.Abstractions.Broadcasting.dll
Represents an exception that occurs when a Descriptor is not found.
public class DescriptorNotFoundException : CharacteristicException, ISerializable
- Inheritance
-
DescriptorNotFoundException
- Implements
- Inherited Members
Constructors
DescriptorNotFoundException(IBluetoothLocalCharacteristic, Exception?)
Initializes a new instance of the DescriptorNotFoundException class.
public DescriptorNotFoundException(IBluetoothLocalCharacteristic localCharacteristic, Exception? innerException = null)
Parameters
localCharacteristicIBluetoothLocalCharacteristicThe Bluetooth characteristic associated with the exception.
innerExceptionExceptionThe inner exception that caused the current exception, if any.
DescriptorNotFoundException(IBluetoothLocalCharacteristic, Guid, Exception?)
Initializes a new instance of the DescriptorNotFoundException class.
public DescriptorNotFoundException(IBluetoothLocalCharacteristic localCharacteristic, Guid id, Exception? innerException = null)
Parameters
localCharacteristicIBluetoothLocalCharacteristicThe Bluetooth characteristic associated with the exception.
idGuidThe descriptor ID that was not found.
innerExceptionExceptionThe inner exception that caused the current exception, if any.