XmlSerializationException Class
Definition
Represents an exception occured during serialization or deserialization. This class cannot be inherited.
public sealed class XmlSerializationException : Microsoft.AnalysisServices.AmoException
type XmlSerializationException = class
inherit AmoException
Public NotInheritable Class XmlSerializationException
Inherits AmoException
- Inheritance
Constructors
XmlSerializationException() |
Initializes a new instance of XmlSerializationException class using the default values. |
XmlSerializationException(String) |
Initializes a new instance of the XmlSerializationException class using the specified message. |
XmlSerializationException(String, Exception) |
Initializes a new instance of the XmlSerializationException class using the specified message and inner exception. |
XmlSerializationException(String, Exception, Int32, Int32) |
Initializes a new instance of the XmlSerializationException class using the specified message and inner exception, as well as error position. |
Properties
LineNumber |
Specifies the line number in XML where the error occured. |
LinePosition |
Specifies the line position in XML where the error occured. |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Populates a SerializationInfo with the data needed to serialize the target object. |