Class CharacteristicAccessorResolutionException
- Namespace
- Bluetooth.Abstractions.Scanning.Exceptions
- Assembly
- Bluetooth.Abstractions.Scanning.dll
Exception thrown when a characteristic accessor cannot resolve the target service or characteristic on a device.
public class CharacteristicAccessorResolutionException : CharacteristicAccessorException, ISerializable
- Inheritance
-
CharacteristicAccessorResolutionException
- Implements
- Inherited Members
Constructors
CharacteristicAccessorResolutionException(Guid, Guid, string, Exception?)
Initializes a new instance of the CharacteristicAccessorResolutionException class.
public CharacteristicAccessorResolutionException(Guid serviceId, Guid characteristicId, string message, Exception? innerException = null)
Parameters
serviceIdGuidThe target service UUID involved in the resolution failure.
characteristicIdGuidThe target characteristic UUID involved in the resolution failure.
messagestringThe message that describes the error.
innerExceptionExceptionThe inner exception that caused this exception, if any.
Properties
CharacteristicId
Gets the target characteristic UUID involved in the resolution failure.
public Guid CharacteristicId { get; }
Property Value
ServiceId
Gets the target service UUID involved in the resolution failure.
public Guid ServiceId { get; }