XmlSerializationException Class

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

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.AnalysisServices.AmoException
      Microsoft.AnalysisServices.XmlSerializationException

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
<SerializableAttribute> _
<GuidAttribute("DB1F9035-ACC7-4f04-9DEF-4902A49BCD10")> _
Public NotInheritable Class XmlSerializationException _
    Inherits AmoException
'Usage
Dim instance As XmlSerializationException
[SerializableAttribute]
[GuidAttribute("DB1F9035-ACC7-4f04-9DEF-4902A49BCD10")]
public sealed class XmlSerializationException : AmoException
[SerializableAttribute]
[GuidAttribute(L"DB1F9035-ACC7-4f04-9DEF-4902A49BCD10")]
public ref class XmlSerializationException sealed : public AmoException
[<SealedAttribute>]
[<SerializableAttribute>]
[<GuidAttribute("DB1F9035-ACC7-4f04-9DEF-4902A49BCD10")>]
type XmlSerializationException =  
    class
        inherit AmoException
    end
public final class XmlSerializationException extends AmoException

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

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

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData 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

Remarks

This type also represents messages thrown during the XML serialization process, but exceptions in that case are very rare.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.