Table of Contents

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

serviceId Guid

The target service UUID involved in the resolution failure.

characteristicId Guid

The target characteristic UUID involved in the resolution failure.

message string

The message that describes the error.

innerException Exception

The 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

Guid

ServiceId

Gets the target service UUID involved in the resolution failure.

public Guid ServiceId { get; }

Property Value

Guid