Megosztás a következőn keresztül:


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
[<System.Runtime.InteropServices.Guid("DB1F9035-ACC7-4f04-9DEF-4902A49BCD10")>]
[<System.Serializable>]
type XmlSerializationException = class
    inherit AmoException
Public NotInheritable Class XmlSerializationException
Inherits AmoException
Inheritance
XmlSerializationException
Attributes

Constructors

XmlSerializationException()

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

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.

XmlSerializationException(String, Exception)

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

XmlSerializationException(String)

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

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.

Applies to