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
broadcasterIBluetoothBroadcasterservicesIEnumerable<IBluetoothLocalService>innerExceptionException
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
broadcasterIBluetoothBroadcasteridGuidservicesIEnumerable<IBluetoothLocalService>innerExceptionException
Properties
Services
Gets the services that caused the exception.
public IEnumerable<IBluetoothLocalService> Services { get; }