Class ServiceExplorationException
- Namespace
- Bluetooth.Abstractions.Scanning.Exceptions
- Assembly
- Bluetooth.Abstractions.Scanning.dll
Represents an exception that occurs when service exploration fails.
public class ServiceExplorationException : DeviceException, ISerializable
- Inheritance
-
ServiceExplorationException
- Implements
- Derived
- Inherited Members
Constructors
ServiceExplorationException(IBluetoothRemoteDevice, string?, Exception?)
Initializes a new instance of the ServiceExplorationException class.
public ServiceExplorationException(IBluetoothRemoteDevice device, string? message = null, Exception? innerException = null)
Parameters
deviceIBluetoothRemoteDeviceThe Bluetooth device associated with the exception.
messagestringA message that describes the error.
innerExceptionExceptionThe inner exception that caused the current exception, if any.