Class DescriptorReadException
- Namespace
- Bluetooth.Abstractions.Scanning.Exceptions
- Assembly
- Bluetooth.Abstractions.Scanning.dll
Represents an exception that occurs during Bluetooth descriptor read operations.
public class DescriptorReadException : DescriptorException, ISerializable
- Inheritance
-
DescriptorReadException
- Implements
- Inherited Members
Constructors
DescriptorReadException(IBluetoothRemoteDescriptor, string, Exception?)
Initializes a new instance of the DescriptorReadException class.
public DescriptorReadException(IBluetoothRemoteDescriptor remoteDescriptor, string message = "Unknown Bluetooth descriptor read exception", Exception? innerException = null)
Parameters
remoteDescriptorIBluetoothRemoteDescriptorThe Bluetooth descriptor associated with the exception.
messagestringA message that describes the error.
innerExceptionExceptionThe inner exception that caused the current exception, if any.