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
remoteDescriptorIBluetoothRemoteDescriptorThe descriptor associated with this exception.
messagestringThe error message.
innerExceptionExceptionThe inner exception.
Properties
RemoteDescriptor
Gets the descriptor associated with this exception.
public IBluetoothRemoteDescriptor RemoteDescriptor { get; }