Table of Contents

Class ScannerIsAlreadyStartedException

Namespace
Bluetooth.Abstractions.Scanning.Exceptions
Assembly
Bluetooth.Abstractions.Scanning.dll

Represents an exception that occurs when a Bluetooth scanner is already started.

public class ScannerIsAlreadyStartedException : ScannerFailedToStartException, ISerializable
Inheritance
ScannerIsAlreadyStartedException
Implements
Inherited Members

Constructors

ScannerIsAlreadyStartedException(IBluetoothScanner, string, Exception?)

Initializes a new instance of the ScannerIsAlreadyStartedException class.

public ScannerIsAlreadyStartedException(IBluetoothScanner scanner, string message = "Scanner is already started", Exception? innerException = null)

Parameters

scanner IBluetoothScanner

The Bluetooth scanner associated with the exception.

message string

A message that describes the error.

innerException Exception

The inner exception that caused the current exception, if any.

See Also