Table of Contents

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

remoteCharacteristic IBluetoothRemoteCharacteristic

The Bluetooth characteristic associated with the exception.

innerException Exception

The 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

remoteCharacteristic IBluetoothRemoteCharacteristic

The Bluetooth characteristic associated with the exception.

id Guid

The descriptor ID that was not found.

innerException Exception

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

See Also