InvalidJsonDateTimeException(String, String, DateTime) Constructor

Initializes a new instance of the InvalidJsonDateTimeException class with a specified error message.

Definition

Namespace: ASCOM.Alpaca.Clients
Assembly: ASCOM.Alpaca (in ASCOM.Alpaca.dll) Version: 4.1.0+517b408ca408f7a19aace78c1509f524714a3a13
C#
public InvalidJsonDateTimeException(
	string message,
	string jsonString,
	DateTime invalidDateTime
)

Parameters

message  String
The message that describes the error.
jsonString  String
The JSON date-time string from the device.
invalidDateTime  DateTime
The DateTime value de-serialised from the returned JSON string.

Version Information

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

See Also