Table of Contents

Class DeviceNotFoundException

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

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

public class DeviceNotFoundException : DeviceExplorationException, ISerializable
Inheritance
DeviceNotFoundException
Implements
Inherited Members

Constructors

DeviceNotFoundException(IBluetoothScanner, Exception?)

Initializes a new instance of the DeviceNotFoundException class.

public DeviceNotFoundException(IBluetoothScanner scanner, Exception? innerException = null)

Parameters

scanner IBluetoothScanner

The Bluetooth scanner associated with the exception.

innerException Exception

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

DeviceNotFoundException(IBluetoothScanner, string, Exception?)

Initializes a new instance of the DeviceNotFoundException class.

public DeviceNotFoundException(IBluetoothScanner scanner, string id, Exception? innerException = null)

Parameters

scanner IBluetoothScanner

The Bluetooth scanner associated with the exception.

id string

The device ID that was not found.

innerException Exception

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

See Also