IDome |
| Exception | Condition |
|---|---|
| DriverException | An error occurred that is not described by one of the more specific ASCOM exceptions. Include sufficient detail in the message text to enable the issue to be accurately diagnosed by someone other than yourself. |
Must be implemented.
Do not use a NotConnectedException here. That exception is for use in other methods that require a connection in order to succeed.
The Connected property sets and reports the state of the hardware connection. For a hub this means that Connected will be when the first driver connects and will only return when all drivers have disconnected. A second driver may find that Connected is already true and setting Connected to does not report Connected as . This is not an error because the physical state is that the hardware connection is still active.
The property is idempotent; writing to the property multiple times will not cause an error.