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