public string Action( string ActionName, string ActionParameters )
Public Function Action ( ActionName As String, ActionParameters As String ) As String
public: virtual String^ Action( String^ ActionName, String^ ActionParameters ) sealed
|MethodNotImplementedException||Throws this exception if no actions are suported.|
|ActionNotImplementedException||It is intended that the SupportedActions method will inform clients of driver capabilities, but the driver must still throw an ASCOM.ActionNotImplemented exception if it is asked to perform an action that it does not support.|
|NotConnectedException||If the driver is not connected.|
|DriverException||Must throw an exception if the call was not successful|
Can throw a not implemented exceptionThis method is intended for use in all current and future device types and to avoid name clashes, management of action names is important from day 1. A two-part naming convention will be adopted - DeviceType:UniqueActionName where:
It is recommended that UniqueActionNames should be a maximum of 16 characters for legibility. Should the same function and UniqueActionName be supported by more than one type of device, the reserved DeviceType of “General” will be used. Action names will be case insensitive, so FilterWheel:SelectWheel, filterwheel:selectwheel and FILTERWHEEL:SELECTWHEEL will all refer to the same action.
The names of all supported actions must bre returned in the SupportedActions property.