Class DeviceUnexpectedDisconnectionEventArgs
- Namespace
- Bluetooth.Abstractions.Scanning.EventArgs
- Assembly
- Bluetooth.Abstractions.Scanning.dll
Event arguments for when a device unexpectedly disconnects.
public class DeviceUnexpectedDisconnectionEventArgs : EventArgs
- Inheritance
-
DeviceUnexpectedDisconnectionEventArgs
- Inherited Members
Constructors
DeviceUnexpectedDisconnectionEventArgs(Exception?)
Initializes a new instance of the DeviceUnexpectedDisconnectionEventArgs class.
public DeviceUnexpectedDisconnectionEventArgs(Exception? exception)
Parameters
exceptionExceptionThe exception associated with the unexpected disconnection, if any.
Properties
Exception
Gets the exception associated with the unexpected disconnection, if any.
public Exception? Exception { get; }