JsonSerializationException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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, Exception) |
Initializes a new instance of the JsonSerializationException class with message text and inner exception. |
JsonSerializationException(String) |
Initializes a new instance of the JsonSerializationException class using the specified message text. |
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. |