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
broadcasterIBluetoothBroadcasterThe Bluetooth broadcaster associated with the exception.
innerExceptionExceptionThe 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
broadcasterIBluetoothBroadcasterThe Bluetooth broadcaster associated with the exception.
idGuidThe UUID of the service that was not found.
innerExceptionExceptionThe inner exception that caused the current exception, if any.