ITelescopeV3Connected Property |
Namespace: ASCOM.DeviceInterface
Exception | Condition |
---|---|
DriverException | Must throw an exception if the call was not successful |
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 connection to the device hardware. For a hub this means that Connected will be true when the first driver connects and will only be set to false when all drivers have disconnected. A second driver may find that Connected is already true and setting Connected to false does not report Connected as false. This is not an error because the physical state is that the hardware connection is still true.
Multiple calls setting Connected to true or false will not cause an error.