SlavedException Class

This exception should be used to indicate that movement (or other invalid operation) was attempted while the device was in slaved mode. This applies primarily to domes drivers.

Definition

Namespace: ASCOM
Assembly: ASCOM.Exceptions (in ASCOM.Exceptions.dll) Version: 6.0.0.0 (7.0.9999.9999)
C#
[SerializableAttribute]
[ComVisibleAttribute(true)]
[GuidAttribute("537BF13D-55E0-4C80-98EB-BE270E653E10")]
public class SlavedException : DriverException
Inheritance
Object    Exception    DriverException    SlavedException

Remarks

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

Constructors

SlavedException Initializes a new instance of the SlavedException class.
SlavedException(Exception) Initializes a new instance of the SlavedException class with a caught (inner) exception.
SlavedException(String) Create a new exception
SlavedException(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