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