Click or drag to resize

ICoverCalibratorV1HaltCover Method

Stops any cover movement that may be in progress if a cover is present and cover movement can be interrupted.

Namespace: ASCOM.DeviceInterface
Assembly: ASCOM.DeviceInterfaces (in ASCOM.DeviceInterfaces.dll) Version: 6.0.0.0 (6.6.9999.9999)
Syntax
void HaltCover()
Exceptions
ExceptionCondition
MethodNotImplementedExceptionWhen CoverState returns NotPresent or if cover movement cannot be interrupted.
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

This must stop any cover movement as soon as possible and set a CoverState of Open, Closed or Unknown as appropriate.

If cover movement cannot be interrupted, a MethodNotImplementedException must be thrown.

See Also