JsonException Constructor (message, innerException)

Json.NET

Json.NET - Quick Starts & API Documentation JsonException Constructor (message, innerException)
NamespacesNewtonsoft.JsonJsonExceptionJsonException(String, Exception)
Initializes a new instance of the JsonException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration Syntax
C# Visual Basic Visual C++
public JsonException(
	string message,
	Exception innerException
)
Public Sub New ( _
	message As String, _
	innerException As Exception _
)
public:
JsonException(
	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.6.14930)