Table of Contents

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

localCharacteristic IBluetoothLocalCharacteristic

The Bluetooth characteristic associated with the exception.

innerException Exception

The 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

localCharacteristic IBluetoothLocalCharacteristic

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