Table of Contents

Class ServiceException

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

Represents an exception that occurs in Bluetooth broadcaster operations.

public abstract class ServiceException : BluetoothBroadcastingException, ISerializable
Inheritance
ServiceException
Implements
Derived
Inherited Members

Constructors

ServiceException(IBluetoothLocalService, string, Exception?)

Initializes a new instance of the ServiceException class.

protected ServiceException(IBluetoothLocalService localService, string message = "Unknown broadcast service exception", Exception? innerException = null)

Parameters

localService IBluetoothLocalService

The Bluetooth broadcast service associated with the exception.

message string

A message that describes the error.

innerException Exception

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

Properties

LocalService

Gets the Bluetooth activity associated with the exception.

public IBluetoothLocalService LocalService { get; }

Property Value

IBluetoothLocalService

See Also