XmlSerializationException XmlSerializationException XmlSerializationException Class

Definition

Represents an exception occured during serialization or deserialization. This class cannot be inherited.

[System.Runtime.InteropServices.Guid("DB1F9035-ACC7-4f04-9DEF-4902A49BCD10")]
[System.Serializable]
public sealed class XmlSerializationException : Microsoft.AnalysisServices.AmoException
type XmlSerializationException = class
    inherit AmoException
Public NotInheritable Class XmlSerializationException
Inherits AmoException
Inheritance
XmlSerializationExceptionXmlSerializationExceptionXmlSerializationException
Attributes

Constructors

XmlSerializationException() XmlSerializationException() XmlSerializationException()

Initializes a new instance of XmlSerializationException class using the default values.

XmlSerializationException(String) XmlSerializationException(String) XmlSerializationException(String)

Initializes a new instance of the XmlSerializationException class using the specified message.

XmlSerializationException(String, Exception) XmlSerializationException(String, Exception) XmlSerializationException(String, Exception)

Initializes a new instance of the XmlSerializationException class using the specified message and inner exception.

XmlSerializationException(String, Exception, Int32, Int32) XmlSerializationException(String, Exception, Int32, Int32) 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 LineNumber LineNumber

Specifies the line number in XML where the error occured.

LinePosition LinePosition LinePosition

Specifies the line position in XML where the error occured.

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the target object.

Applies to