Class DeviceReconnectingException
- Namespace
- Bluetooth.Abstractions.Scanning.Exceptions
- Assembly
- Bluetooth.Abstractions.Scanning.dll
Represents an exception that occurs when a device is in the process of reconnecting.
public class DeviceReconnectingException : DeviceException, ISerializable
- Inheritance
-
DeviceReconnectingException
- Implements
- Inherited Members
Constructors
DeviceReconnectingException(IBluetoothRemoteDevice, string, Exception?)
Initializes a new instance of the DeviceReconnectingException class.
public DeviceReconnectingException(IBluetoothRemoteDevice device, string message = "Device is reconnecting", Exception? innerException = null)
Parameters
deviceIBluetoothRemoteDeviceThe Bluetooth device associated with the exception.
messagestringA message that describes the error.
innerExceptionExceptionThe inner exception that caused the current exception, if any.