Class BluetoothPermissionException
- Namespace
- Bluetooth.Abstractions.Exceptions
- Assembly
- Bluetooth.Abstractions.dll
Exception thrown when Bluetooth permission requests fail or are denied. Wraps platform-specific exceptions (COMException, SecurityException, etc.) to provide a unified API surface.
public class BluetoothPermissionException : BluetoothException, ISerializable
- Inheritance
-
BluetoothPermissionException
- Implements
- Inherited Members
Constructors
BluetoothPermissionException()
Initializes a new instance of the BluetoothPermissionException class with a default message.
public BluetoothPermissionException()
BluetoothPermissionException(string)
Initializes a new instance of the BluetoothPermissionException class with the specified message.
public BluetoothPermissionException(string message)
Parameters
messagestringThe error message that explains the reason for the exception.
BluetoothPermissionException(string, Exception?)
Exception thrown when Bluetooth permission requests fail or are denied. Wraps platform-specific exceptions (COMException, SecurityException, etc.) to provide a unified API surface.
public BluetoothPermissionException(string message, Exception? innerException = null)