Class DeviceExplorationException
- Namespace
- Bluetooth.Abstractions.Scanning.Exceptions
- Assembly
- Bluetooth.Abstractions.Scanning.dll
Represents an exception that occurs when device exploration fails.
public class DeviceExplorationException : ScannerException, ISerializable
- Inheritance
-
DeviceExplorationException
- Implements
- Derived
- Inherited Members
Constructors
DeviceExplorationException(IBluetoothScanner, string?, Exception?)
Initializes a new instance of the DeviceExplorationException class.
public DeviceExplorationException(IBluetoothScanner scanner, string? message = null, Exception? innerException = null)
Parameters
scannerIBluetoothScannerThe Bluetooth scanner associated with the exception.
messagestringThe message that describes the error.
innerExceptionExceptionThe inner exception that caused the current exception, if any.