Class CharacteristicNotFoundException
- Namespace
- Bluetooth.Abstractions.Scanning.Exceptions
- Assembly
- Bluetooth.Abstractions.Scanning.dll
Represents an exception that occurs when a characteristic is not found.
public class CharacteristicNotFoundException : CharacteristicExplorationException, ISerializable
- Inheritance
-
CharacteristicNotFoundException
- Implements
- Inherited Members
Constructors
CharacteristicNotFoundException(IBluetoothRemoteService, Exception?)
Initializes a new instance of the CharacteristicNotFoundException class.
public CharacteristicNotFoundException(IBluetoothRemoteService remoteService, Exception? innerException = null)
Parameters
remoteServiceIBluetoothRemoteServiceThe Bluetooth service associated with the exception.
innerExceptionExceptionThe inner exception that caused the current exception, if any.
CharacteristicNotFoundException(IBluetoothRemoteService, Guid, Exception?)
Initializes a new instance of the CharacteristicNotFoundException class.
public CharacteristicNotFoundException(IBluetoothRemoteService remoteService, Guid id, Exception? innerException = null)
Parameters
remoteServiceIBluetoothRemoteServiceThe Bluetooth service associated with the exception.
idGuidThe id of the characteristic that was not found.
innerExceptionExceptionThe inner exception that caused the current exception, if any.