Exception to report an invalid value supplied to a driver.

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

Syntax

C#
[SerializableAttribute]
public class InvalidValueException : DriverException
Visual Basic
<SerializableAttribute> _
Public Class InvalidValueException _
	Inherits DriverException
Visual C++
[SerializableAttribute]
public ref class InvalidValueException : public DriverException

Remarks

The most useful way to use this exception is to inform the user which property/method/parameter had the invalid value and also the range of allowed values.

Inheritance Hierarchy

System..::..Object
  System..::..Exception
    ASCOM..::..DriverException
      ASCOM..::..InvalidValueException

See Also