Table of Contents

Class BroadcasterException

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

Represents an exception that occurs in Bluetooth broadcaster operations.

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

Remarks

This exception provides information about the Bluetooth broadcaster associated with the error, allowing for easier debugging and tracking of broadcaster-related issues.

Constructors

BroadcasterException(IBluetoothBroadcaster, string, Exception?)

Initializes a new instance of the BroadcasterException class.

protected BroadcasterException(IBluetoothBroadcaster broadcaster, string message = "Unknown broadcaster exception", Exception? innerException = null)

Parameters

broadcaster IBluetoothBroadcaster

The Bluetooth broadcaster 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

Broadcaster

Gets the Bluetooth broadcaster associated with the exception.

public IBluetoothBroadcaster Broadcaster { get; }

Property Value

IBluetoothBroadcaster