C# Class Newtonsoft.Json.Schema.JsonSchemaException

Returns detailed information about the schema exception.
Inheritance: System.Exception
Afficher le fichier Open project: JamesNK/Newtonsoft.Json Class Usage Examples

Méthodes publiques

Méthode Description
JsonSchemaException ( ) : System

Initializes a new instance of the JsonSchemaException class.

JsonSchemaException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the JsonSchemaException class.

JsonSchemaException ( string message ) : System

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

JsonSchemaException ( string message, Exception innerException ) : System

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

Private Methods

Méthode Description
JsonSchemaException ( string message, Exception innerException, string path, int lineNumber, int linePosition ) : System

Method Details

JsonSchemaException() public méthode

Initializes a new instance of the JsonSchemaException class.
public JsonSchemaException ( ) : System
Résultat System

JsonSchemaException() public méthode

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

JsonSchemaException() public méthode

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

JsonSchemaException() public méthode

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