C# Class Newtonsoft.Json.JsonWriterException

Inheritance: Newtonsoft.Json.JsonException
显示文件 Open project: JamesNK/Newtonsoft.Json Class Usage Examples

Public Methods

Method Description
JsonWriterException ( ) : System

Initializes a new instance of the JsonWriterException class.

JsonWriterException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the JsonWriterException class.

JsonWriterException ( string message ) : System

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

JsonWriterException ( string message, Exception innerException ) : System

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

Private Methods

Method Description
Create ( JsonWriter writer, string message, Exception ex ) : JsonWriterException
Create ( string path, string message, Exception ex ) : JsonWriterException
JsonWriterException ( string message, Exception innerException, string path ) : System

Method Details

JsonWriterException() public method

Initializes a new instance of the JsonWriterException class.
public JsonWriterException ( ) : System
return System

JsonWriterException() public method

Initializes a new instance of the JsonWriterException class.
The parameter is null. The class name is null or is zero (0).
public JsonWriterException ( 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.
return System

JsonWriterException() public method

Initializes a new instance of the JsonWriterException class with a specified error message.
public JsonWriterException ( string message ) : System
message string The error message that explains the reason for the exception.
return System

JsonWriterException() public method

Initializes a new instance of the JsonWriterException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public JsonWriterException ( 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.
return System