Table of Contents

Class ServiceNotFoundException

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

Represents an exception that occurs when a service is not found.

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

Constructors

ServiceNotFoundException(IBluetoothRemoteDevice, Exception?)

Initializes a new instance of the ServiceNotFoundException class.

public ServiceNotFoundException(IBluetoothRemoteDevice device, Exception? innerException = null)

Parameters

device IBluetoothRemoteDevice

The Bluetooth device associated with the exception.

innerException Exception

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

ServiceNotFoundException(IBluetoothRemoteDevice, Guid, Exception?)

Initializes a new instance of the ServiceNotFoundException class.

public ServiceNotFoundException(IBluetoothRemoteDevice device, Guid id, Exception? innerException = null)

Parameters

device IBluetoothRemoteDevice

The Bluetooth device associated with the exception.

id Guid

The id of the service that was not found.

innerException Exception

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

See Also