Share via


XmlSerializationException Members

Include Protected Members
Include Inherited Members

Represents messages thrown during the XML de-serialization process. This class cannot be inherited.

The XmlSerializationException type exposes the following members.

Constructors

  Name Description
Public method XmlSerializationException() Initializes a new instance of XmlSerializationException using the default values.
Public method XmlSerializationException(String) Initializes a new instance of XmlSerializationException using a message string.
Public method XmlSerializationException(String, Exception) Initializes a new instance of XmlSerializationException, using a message string and the inner Exception received.
Public method XmlSerializationException(String, Exception, Int32, Int32) Initializes a new instance of XmlSerializationException using a message string, the inner Exception received, a line number, and line position.

Top

Methods

  Name Description
Public method Equals(Object) (Inherited from Object.)
Protected method Finalize() (Inherited from Object.)
Public method GetBaseException() (Inherited from Exception.)
Public method GetHashCode() (Inherited from Object.)
Public method GetObjectData(SerializationInfo, StreamingContext) Infrastructure. l (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType() (Inherited from Exception.)
Protected method MemberwiseClone() (Inherited from Object.)
Public method ToString() (Inherited from Exception.)

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property LineNumber Gets or sets the line number where the exception occurred.
Public property LinePosition Gets or sets the line position where the exception occurred.
Public property Message (Inherited from Exception.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top