Table of Contents

Class BondingFailedException

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

Represents an exception that occurs when bonding fails.

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

Constructors

BondingFailedException(IBluetoothRemoteDevice, string, Exception?)

Initializes a new instance of the BondingFailedException class.

public BondingFailedException(IBluetoothRemoteDevice device, string message = "Bonding failed", 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