Click or drag to resize

CameraAbortExposure Method

Aborts the current exposure, if any, and returns the camera to Idle state.

Namespace:  ASCOM.DriverAccess
Assembly:  ASCOM.DriverAccess (in ASCOM.DriverAccess.dll) Version: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntax
public void AbortExposure()

Implements

ICameraV3AbortExposure
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown if abort is not currently possible (e.g. during download).
NotConnectedExceptionIf the device is not connected.
DriverExceptionAn error occurred that is not described by one of the more specific ASCOM exceptions. The device did not successfully complete the request.
Remarks
NOTES:
  • Must throw exception if camera is not idle and abort is unsuccessful (or not possible, e.g. during download).
  • Must throw exception if hardware or communications error occurs.
  • Must NOT throw an exception if the camera is already idle.
See Also