Table of Contents

Class DescriptorException

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

Base exception class for descriptor-related errors.

public class DescriptorException : BluetoothScanningException, ISerializable
Inheritance
DescriptorException
Implements
Derived
Inherited Members

Constructors

DescriptorException(IBluetoothRemoteDescriptor, string, Exception?)

Initializes a new instance of the DescriptorException class.

public DescriptorException(IBluetoothRemoteDescriptor remoteDescriptor, string message, Exception? innerException = null)

Parameters

remoteDescriptor IBluetoothRemoteDescriptor

The descriptor associated with this exception.

message string

The error message.

innerException Exception

The inner exception.

Properties

RemoteDescriptor

Gets the descriptor associated with this exception.

public IBluetoothRemoteDescriptor RemoteDescriptor { get; }

Property Value

IBluetoothRemoteDescriptor