Table of Contents

Class CharacteristicNotFoundException

Namespace
Bluetooth.Abstractions.Scanning.Exceptions
Assembly
Bluetooth.Abstractions.Scanning.dll

Represents an exception that occurs when a characteristic is not found.

public class CharacteristicNotFoundException : CharacteristicExplorationException, ISerializable
Inheritance
CharacteristicNotFoundException
Implements
Inherited Members

Constructors

CharacteristicNotFoundException(IBluetoothRemoteService, Exception?)

Initializes a new instance of the CharacteristicNotFoundException class.

public CharacteristicNotFoundException(IBluetoothRemoteService remoteService, Exception? innerException = null)

Parameters

remoteService IBluetoothRemoteService

The Bluetooth service associated with the exception.

innerException Exception

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

CharacteristicNotFoundException(IBluetoothRemoteService, Guid, Exception?)

Initializes a new instance of the CharacteristicNotFoundException class.

public CharacteristicNotFoundException(IBluetoothRemoteService remoteService, Guid id, Exception? innerException = null)

Parameters

remoteService IBluetoothRemoteService

The Bluetooth service associated with the exception.

id Guid

The id of the characteristic that was not found.

innerException Exception

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

See Also