Click or drag to resize

IObservingConditionsSupportedActions Property

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

Namespace:  ASCOM.DeviceInterface
Assembly:  ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 3c9121baba46811fe6e53a58a05935662261416d
Syntax
ArrayList SupportedActions { get; }

Property Value

Type: ArrayList
An ArrayList of strings (SafeArray collection) containing the names of supported actions.
Exceptions
ExceptionCondition
DriverExceptionMust throw an exception if the call was not successful
Remarks

Must be implemented

This method must return an empty ArrayList if no actions are supported. Do not throw a PropertyNotImplementedException.

This is an aid to client authors and testers who would otherwise have to repeatedly poll the driver to determine its capabilities. Returned action names may be in mixed case to enhance presentation but the Action(String, String) method is case insensitive.

Collections have been used in the Telescope specification for a number of years and are known to be compatible with COM. Within .NET, ArrayList is the correct implementation to use because the .NET Generic methods are not compatible with COM.

See Also