ValueNotSetException(String, Exception) Constructor

Create a new exception object and identify the specified driver property as the source, and include an inner exception object containing a caught exception.

Definition

Namespace: ASCOM
Assembly: ASCOM.Exceptions (in ASCOM.Exceptions.dll) Version: 6.0.0.0 (7.0.9999.9999)
C#
public ValueNotSetException(
	string propertyOrMethod,
	Exception inner
)

Parameters

propertyOrMethod  String
The name of the driver property/accessor or method that caused the exception
inner  Exception
The caught exception

Version Information

Supported in: .NET Standard 2.0, .NET 8 .NET 9. .NET 10

See Also