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