Click or drag to resize
Json.NET

JsonReaderException Constructor (String, Exception)

 
Initializes a new instance of the JsonReaderException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Namespace:  Newtonsoft.Json
Assembly:  Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax
C#
public JsonReaderException(
	string message,
	Exception innerException
)

Parameters

message
Type: SystemString
The error message that explains the reason for the exception.
innerException
Type: SystemException
The exception that is the cause of the current exception, or null if no inner exception is specified.
See Also