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