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

Declaration Syntax
public JsonSerializationException(
string message,
Exception innerException
)
public:
JsonSerializationException(
String^ message,
Exception^ innerException
)

Parameters
- message (String)
- The error message that explains the reason for the exception.
- innerException (Exception)
- The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
Assembly:
Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.5.0.0 (4.5.5.14908)