| JsonSerializationException Constructor (String, Exception) |
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.
Namespace:
Newtonsoft.Json
Assembly:
Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 12.0.1+509643a8952ce731e0207710c429ad6e67dc43db
Syntax public JsonSerializationException(
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