C# Class Newtonsoft.Json.JsonSerializationException

The exception thrown when an error occurs during JSON serialization or deserialization.
Inheritance: Newtonsoft.Json.JsonException
Afficher le fichier Open project: JamesNK/Newtonsoft.Json Class Usage Examples

Méthodes publiques

Méthode Description
JsonSerializationException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the JsonSerializationException class.

Private Methods

Méthode Description
Create ( IJsonLineInfo lineInfo, string path, string message, Exception ex ) : JsonSerializationException
Create ( JsonReader reader, string message ) : JsonSerializationException
Create ( JsonReader reader, string message, Exception ex ) : JsonSerializationException

Method Details

JsonSerializationException() public méthode

Initializes a new instance of the JsonSerializationException class.
The parameter is null. The class name is null or is zero (0).
public JsonSerializationException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The that holds the serialized object data about the exception being thrown.
context System.Runtime.Serialization.StreamingContext The that contains contextual information about the source or destination.
Résultat System