Click or drag to resize

ITelescopeV4SupportedActions Property

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

Namespace: ASCOM.DeviceInterface
Assembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 7.0.0-rc.0+0
Syntax
ArrayList SupportedActions { get; }

Property Value

ArrayList
An ArrayList of strings (SafeArray collection) containing the names of supported actions.
Exceptions
ExceptionCondition
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.
Remarks

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.

Revision History
DateVersionDescription
ITelescopeV3Platform 6.0Member added.
See Also