Immediately stop any focuser motion due to a previous Move(Int32) method call.

Namespace: ASCOM.DeviceInterface
Assembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
void Halt()
Visual Basic
Sub Halt
Visual C++
void Halt()

Remarks

Can throw a not implemented exception

Some focusers may not support this function, in which case an exception will be raised.

Recommendation: Host software should call this method upon initialization and, if it fails, disable the Halt button in the user interface.

Exceptions

ExceptionCondition
MethodNotImplementedExceptionFocuser does not support this method.
NotConnectedExceptionIf the driver is not connected.
DriverExceptionMust throw an exception if the call was not successful

See Also