Click or drag to resize

ITelescopeV3SupportedActions Property

Returns the list of custom action names supported by this driver.

Namespace:  ASCOM.DeviceInterface
Assembly:  ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
ArrayList SupportedActions { get; }

Property Value

Type: ArrayList
An ArrayList of strings (SafeArray collection) containing the names of supported actions.
NotConnectedExceptionIf the device is not connected
DriverExceptionAn 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.

See Also