Table of Contents

Class ServiceNotFoundException

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

Represents an exception that occurs when attempting to access or remove a service that does not exist in a Bluetooth broadcaster.

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

Constructors

ServiceNotFoundException(IBluetoothBroadcaster, Exception?)

Initializes a new instance of the ServiceNotFoundException class.

public ServiceNotFoundException(IBluetoothBroadcaster broadcaster, Exception? innerException = null)

Parameters

broadcaster IBluetoothBroadcaster

The Bluetooth broadcaster associated with the exception.

innerException Exception

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

ServiceNotFoundException(IBluetoothBroadcaster, Guid, Exception?)

Initializes a new instance of the ServiceNotFoundException class.

public ServiceNotFoundException(IBluetoothBroadcaster broadcaster, Guid id, Exception? innerException = null)

Parameters

broadcaster IBluetoothBroadcaster

The Bluetooth broadcaster associated with the exception.

id Guid

The UUID of the service that was not found.

innerException Exception

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

See Also