Class BroadcasterFailedToStopException
- Namespace
- Bluetooth.Abstractions.Broadcasting.Exceptions
- Assembly
- Bluetooth.Abstractions.Broadcasting.dll
Represents an exception that occurs when a Bluetooth broadcaster fails to stop.
public class BroadcasterFailedToStopException : BroadcasterException, ISerializable
- Inheritance
-
BroadcasterFailedToStopException
- Implements
- Derived
- Inherited Members
Constructors
BroadcasterFailedToStopException(IBluetoothBroadcaster, string, Exception?)
Initializes a new instance of the BroadcasterFailedToStopException class.
public BroadcasterFailedToStopException(IBluetoothBroadcaster broadcaster, string message = "Failed to stop broadcaster", Exception? innerException = null)
Parameters
broadcasterIBluetoothBroadcasterThe Bluetooth broadcaster associated with the exception.
messagestringA message that describes the error.
innerExceptionExceptionThe inner exception that caused the current exception, if any.