Class ScannerFailedToStopException
- Namespace
- Bluetooth.Abstractions.Scanning.Exceptions
- Assembly
- Bluetooth.Abstractions.Scanning.dll
Represents an exception that occurs when a Bluetooth scanner fails to stop.
public class ScannerFailedToStopException : ScannerException, ISerializable
- Inheritance
-
ScannerFailedToStopException
- Implements
- Derived
- Inherited Members
Constructors
ScannerFailedToStopException(IBluetoothScanner, string, Exception?)
Initializes a new instance of the ScannerFailedToStopException class.
public ScannerFailedToStopException(IBluetoothScanner scanner, string message = "Failed to stop scanner", 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.