JsonSerializationException Class
Definition
Represents an exception thrown during a serialization or deserialization operation to/from JSON.
[System.Serializable]
public class JsonSerializationException : Microsoft.AnalysisServices.AmoException
[<System.Serializable>]
type JsonSerializationException = class
inherit AmoException
Public Class JsonSerializationException
Inherits AmoException
- Inheritance
- Attributes
Constructors
JsonSerializationException() |
Initializes a new instance of the JsonSerializationException class. |
JsonSerializationException(SerializationInfo, StreamingContext) |
Initializes a new instance of the JsonSerializationException class with serialized data. |
JsonSerializationException(String) |
Initializes a new instance of the JsonSerializationException class using the specified message text. |
JsonSerializationException(String, Exception) |
Initializes a new instance of the JsonSerializationException class with message text and inner exception. |
Properties
HasLineInfo |
Gets a value indicating whether the exception can return line information. |
LineNumber |
Gets the line number that caused the exception. |
LinePosition |
Gets the position in the line where the exception occurred. |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Sets the System.Runtime.Serialization.SerializationInfo with information about the exception. |