Create a new exception object and identify the specified driver property or method as the source.

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

Syntax

C#
public InvalidValueException(
	string propertyOrMethod,
	string value,
	string range
)
Visual Basic
Public Sub New ( _
	propertyOrMethod As String, _
	value As String, _
	range As String _
)
Visual C++
public:
InvalidValueException(
	String^ propertyOrMethod, 
	String^ value, 
	String^ range
)

Parameters

propertyOrMethod
Type: System..::..String
The name of the driver property/accessor or method that caused the exception
value
Type: System..::..String
The invalid value that was supplied
range
Type: System..::..String
The valid value range

See Also