ParkedException Class

This exception should be used to indicate that movement (or other invalid operation) was attempted while the device was in a parked state.

Definition

Namespace: ASCOM
Assembly: ASCOM.Exceptions (in ASCOM.Exceptions.dll) Version: 6.0.0.0 (7.0.9999.9999)
C#
[SerializableAttribute]
[ComVisibleAttribute(true)]
[GuidAttribute("89EA7E2A-7C74-461C-ABD5-75EE3D46DA13")]
public class ParkedException : DriverException
Inheritance
Object    Exception    DriverException    ParkedException

Remarks

If you need to throw this error as a COM exception use the error number: 0x80040408.

Constructors

ParkedException Initializes a new instance of the ParkedException class using default error text and error codes.
ParkedException(Exception) Initializes a new instance of the ParkedException class with a caught (inner) exception.
ParkedException(String) Create a new exception
ParkedException(String, Exception) Create a new exception

Properties

Number The COM error code for this exception (hex 80040400 - 800404FF)
(Inherited from DriverException)

Extension Methods

ErrorCode Extension method to get the Alpaca Error Code for an Exception. Returns UnspecifiedError if it cannot find a better code
(Defined by ExceptionHelpers)

Version Information

.NET Standard

Supported in: 2.0

See Also