JsonSerializationException Constructor (info, context)

Json.NET

Json.NET - Quick Starts & API Documentation JsonSerializationException Constructor (info, context)
NamespacesNewtonsoft.JsonJsonSerializationExceptionJsonSerializationException(SerializationInfo, StreamingContext)
Initializes a new instance of the JsonSerializationException class.
Declaration Syntax
C# Visual Basic Visual C++
public JsonSerializationException(
	SerializationInfo info,
	StreamingContext context
)
Public Sub New ( _
	info As SerializationInfo, _
	context As StreamingContext _
)
public:
JsonSerializationException(
	SerializationInfo^ info, 
	StreamingContext context
)
Parameters
info (SerializationInfo)
The SerializationInfo that holds the serialized object data about the exception being thrown.
context (StreamingContext)
The StreamingContext that contains contextual information about the source or destination.
Exceptions
Exception Condition
ArgumentNullException The info parameter is null.
SerializationException The class name is null or HResult is zero (0).

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.5.0.0 (4.5.6.14930)