C# Класс Newtonsoft.Json.JsonReaderException

Наследование: Newtonsoft.Json.JsonException
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
JsonReaderException ( ) : System

Initializes a new instance of the JsonReaderException class.

JsonReaderException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the JsonReaderException class.

JsonReaderException ( string message ) : System

Initializes a new instance of the JsonReaderException class with a specified error message.

JsonReaderException ( string message, Exception innerException ) : System

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

Приватные методы

Метод Описание
Create ( IJsonLineInfo lineInfo, string path, string message, Exception ex ) : JsonReaderException
Create ( JsonReader reader, string message ) : JsonReaderException
Create ( JsonReader reader, string message, Exception ex ) : JsonReaderException
JsonReaderException ( string message, Exception innerException, string path, int lineNumber, int linePosition ) : System

Описание методов

JsonReaderException() публичный Метод

Initializes a new instance of the JsonReaderException class.
public JsonReaderException ( ) : System
Результат System

JsonReaderException() публичный Метод

Initializes a new instance of the JsonReaderException class.
The parameter is null. The class name is null or is zero (0).
public JsonReaderException ( 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.
Результат System

JsonReaderException() публичный Метод

Initializes a new instance of the JsonReaderException class with a specified error message.
public JsonReaderException ( string message ) : System
message string The error message that explains the reason for the exception.
Результат System

JsonReaderException() публичный Метод

Initializes a new instance of the JsonReaderException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public JsonReaderException ( string message, Exception innerException ) : System
message string The error message that explains the reason for the exception.
innerException System.Exception The exception that is the cause of the current exception, or null if no inner exception is specified.
Результат System