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.0.0+77e18c564bf9ecdb0ef30166e894390d1b7d077c
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