Table of Contents

Class DeviceFailedToDisconnectException

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

Represents an exception that occurs when a Bluetooth device fails to disconnect.

public class DeviceFailedToDisconnectException : DeviceException, ISerializable
Inheritance
DeviceFailedToDisconnectException
Implements
Inherited Members

Constructors

DeviceFailedToDisconnectException(IBluetoothRemoteDevice, string, Exception?)

Initializes a new instance of the DeviceFailedToDisconnectException class.

public DeviceFailedToDisconnectException(IBluetoothRemoteDevice device, string message = "Failed to disconnect", Exception? innerException = null)

Parameters

device IBluetoothRemoteDevice

The Bluetooth device 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