InvalidValueException Constructor (String, 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: 3351c4f3fa64146a7efd5b51ed4591e32a0a5484
Syntaxpublic InvalidValueException(
string propertyOrMethod,
string value,
string fromValue,
string toValue
)
Public Sub New (
propertyOrMethod As String,
value As String,
fromValue As String,
toValue As String
)
public:
InvalidValueException(
String^ propertyOrMethod,
String^ value,
String^ fromValue,
String^ toValue
)
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 - fromValue
- Type: SystemString
Valid range lower bound - toValue
- Type: SystemString
Valid range upper bound
See Also