Table of Contents

Class PairingFailedException

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

Represents an exception that occurs when pairing fails.

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

Constructors

PairingFailedException(IBluetoothRemoteDevice, string, Exception?)

Initializes a new instance of the PairingFailedException class.

public PairingFailedException(IBluetoothRemoteDevice device, string message = "Failed to pair with device", 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