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: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
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

.NET Standard

Supported in: 2.0

See Also