OSDP.Net 5.2.1
A .NET library for implementing the Open Supervised Device Protocol (OSDP)
Loading...
Searching...
No Matches
OSDP.Net.PanelCommands.DeviceDiscover.ControlPanelInUseException Class Reference

This exception will be thrown if a caller attempts to perform device discovery on a control panel that already has open connections. More...

Inheritance diagram for OSDP.Net.PanelCommands.DeviceDiscover.ControlPanelInUseException:
OSDP.Net.PanelCommands.DeviceDiscover.DeviceDiscoveryException

Public Member Functions

 ControlPanelInUseException ()
 Instantiates a new instance of ControlPanelInUseException.
Public Member Functions inherited from OSDP.Net.PanelCommands.DeviceDiscover.DeviceDiscoveryException
 DeviceDiscoveryException (string message)
 Initializes a new instance of DeviceDiscoveryException.

Detailed Description

This exception will be thrown if a caller attempts to perform device discovery on a control panel that already has open connections.

Having open connections is disallowed because the discovery itself will have to open/close the connections on the serial ports being tested and there cannot be more than one open handle to the same port

Definition at line 30 of file DeviceDiscover.cs.

Constructor & Destructor Documentation

◆ ControlPanelInUseException()

OSDP.Net.PanelCommands.DeviceDiscover.ControlPanelInUseException.ControlPanelInUseException ( )
inline

Instantiates a new instance of ControlPanelInUseException.

Definition at line 35 of file DeviceDiscover.cs.


The documentation for this class was generated from the following file: