ITelescopeV3SupportedActions Property |
Namespace: ASCOM.DeviceInterface
Exception | Condition |
---|---|
NotConnectedException | If the device is not connected |
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
This method must return an empty ArrayList if no actions are supported. Do not throw a PropertyNotImplementedException.
SupportedActions is a "discovery" mechanism that enables clients to know which Actions a device supports without having to exercise the Actions themselves. This mechanism is necessary because there could be people / equipment safety issues if actions are called unexpectedly or out of a defined process sequence. It follows from this that SupportedActions must return names that match the spelling of Action names exactly, without additional descriptive text. However, returned names may use any casing because the Action(String, String) ActionName parameter is case insensitive.