InvalidValueException(String, String, String, String) Constructor |
Create a new exception object and identify the specified driver property or method as the source.
Namespace: ASCOMAssembly: ASCOM.Exceptions (in ASCOM.Exceptions.dll) Version: 6.0.0.0 (6.6.9999.9999)
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 String
- The name of the driver property/accessor or method that caused the exception
- value String
- The invalid value that was supplied
- fromValue String
- Valid range lower bound
- toValue String
- Valid range upper bound
See Also