Table of Contents

Class MultipleDescriptorsFoundException

Namespace
Bluetooth.Abstractions.Scanning.Exceptions
Assembly
Bluetooth.Abstractions.Scanning.dll

Represents an exception that occurs when multiple Descriptors are found matching criteria.

public class MultipleDescriptorsFoundException : DescriptorExplorationException, ISerializable
Inheritance
MultipleDescriptorsFoundException
Implements
Inherited Members

Constructors

MultipleDescriptorsFoundException(IBluetoothRemoteCharacteristic, IEnumerable<IBluetoothRemoteDescriptor>, Exception?)

Initializes a new instance of the MultipleDescriptorsFoundException class.

public MultipleDescriptorsFoundException(IBluetoothRemoteCharacteristic remoteCharacteristic, IEnumerable<IBluetoothRemoteDescriptor> descriptors, Exception? innerException = null)

Parameters

remoteCharacteristic IBluetoothRemoteCharacteristic

The Bluetooth characteristic associated with the exception.

descriptors IEnumerable<IBluetoothRemoteDescriptor>

The Descriptors that were found matching the criteria.

innerException Exception

The inner exception that caused the current exception, if any.

MultipleDescriptorsFoundException(IBluetoothRemoteCharacteristic, Guid, IEnumerable<IBluetoothRemoteDescriptor>, Exception?)

Initializes a new instance of the MultipleDescriptorsFoundException class.

public MultipleDescriptorsFoundException(IBluetoothRemoteCharacteristic remoteCharacteristic, Guid id, IEnumerable<IBluetoothRemoteDescriptor> descriptors, Exception? innerException = null)

Parameters

remoteCharacteristic IBluetoothRemoteCharacteristic

The Bluetooth characteristic associated with the exception.

id Guid

The id of the Descriptors that were found matching the criteria.

descriptors IEnumerable<IBluetoothRemoteDescriptor>

The Descriptors that were found matching the criteria.

innerException Exception

The inner exception that caused the current exception, if any.

Properties

Descriptors

Gets the Descriptors that were found matching the criteria.

public IEnumerable<IBluetoothRemoteDescriptor> Descriptors { get; }

Property Value

IEnumerable<IBluetoothRemoteDescriptor>

See Also