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