InvalidValueException Constructor (String, String, String)
Click or drag to resize

InvalidValueException Constructor (String, String, String)

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.4.0.2624)
Syntax
public InvalidValueException(
	string propertyOrMethod,
	string value,
	string range
)

Parameters

propertyOrMethod
Type: SystemString
The name of the driver property/accessor or method that caused the exception
value
Type: SystemString
The invalid value that was supplied
range
Type: SystemString
The valid value range
See Also