InvalidValueException(String, String, String) Constructor

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

Definition

Namespace: ASCOM
Assembly: ASCOM.Exceptions (in ASCOM.Exceptions.dll) Version: 6.0.0.0 (7.0.9999.9999)
C#
public InvalidValueException(
	string propertyOrMethod,
	string value,
	string range
)

Parameters

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

Version Information

.NET

Supported in: .NET 8.0 and later

.NET Standard

Supported in: 2.0

See Also