Udostępnij przez


JsonException Class

Definition

The exception thrown when an error occurs during JSON serialization or deserialization.

[System.Serializable]
public class JsonException : Exception
[<System.Serializable>]
type JsonException = class
    inherit Exception
Public Class JsonException
Inherits Exception
Inheritance
JsonException
Derived
Attributes

Constructors

Name Description
JsonException()

Initializes a new instance of the JsonException class.

JsonException(SerializationInfo, StreamingContext)

Initializes a new instance of the JsonException class.

JsonException(String, Exception)

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

JsonException(String)

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

Applies to