Table of Contents

Class MultipleServicesFoundException

Namespace
Bluetooth.Abstractions.Broadcasting.Exceptions
Assembly
Bluetooth.Abstractions.Broadcasting.dll

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

public class MultipleServicesFoundException : BroadcasterException, ISerializable
Inheritance
MultipleServicesFoundException
Implements
Inherited Members

Constructors

MultipleServicesFoundException(IBluetoothBroadcaster, IEnumerable<IBluetoothLocalService>, Exception?)

Initializes a new instance of the MultipleServicesFoundException class.

public MultipleServicesFoundException(IBluetoothBroadcaster broadcaster, IEnumerable<IBluetoothLocalService> services, Exception? innerException = null)

Parameters

broadcaster IBluetoothBroadcaster
services IEnumerable<IBluetoothLocalService>
innerException Exception

MultipleServicesFoundException(IBluetoothBroadcaster, Guid, IEnumerable<IBluetoothLocalService>, Exception?)

Initializes a new instance of the MultipleServicesFoundException class.

public MultipleServicesFoundException(IBluetoothBroadcaster broadcaster, Guid id, IEnumerable<IBluetoothLocalService> services, Exception? innerException = null)

Parameters

broadcaster IBluetoothBroadcaster
id Guid
services IEnumerable<IBluetoothLocalService>
innerException Exception

Properties

Services

Gets the services that caused the exception.

public IEnumerable<IBluetoothLocalService> Services { get; }

Property Value

IEnumerable<IBluetoothLocalService>

See Also