Class ClientDeviceException
- Namespace
- Bluetooth.Abstractions.Broadcasting.Exceptions
- Assembly
- Bluetooth.Abstractions.Broadcasting.dll
Represents an exception that occurs in Bluetooth broadcaster operations.
public class ClientDeviceException : BluetoothBroadcastingException, ISerializable
- Inheritance
-
ClientDeviceException
- Implements
- Inherited Members
Constructors
ClientDeviceException(IBluetoothConnectedDevice, string, Exception?)
Initializes a new instance of the ClientDeviceException class.
protected ClientDeviceException(IBluetoothConnectedDevice broadcastConnectedDevice, string message = "Unknown broadcastClientDevice exception", Exception? innerException = null)
Parameters
broadcastConnectedDeviceIBluetoothConnectedDeviceThe Bluetooth broadcaster associated with the exception.
messagestringA message that describes the error.
innerExceptionExceptionThe inner exception that caused the current exception, if any.
Properties
BroadcastConnectedDevice
Gets the Bluetooth broadcast client device associated with the exception.
public IBluetoothConnectedDevice BroadcastConnectedDevice { get; }