XmlSerializationException Class

 

Applies To: SQL Server (starting with 2016)

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

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

Inheritance Hierarchy

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

Syntax

[SerializableAttribute]
[GuidAttribute("DB1F9035-ACC7-4f04-9DEF-4902A49BCD10")]
public sealed class XmlSerializationException : AmoException
[SerializableAttribute]
[GuidAttribute("DB1F9035-ACC7-4f04-9DEF-4902A49BCD10")]
public ref class XmlSerializationException sealed : AmoException
[<Sealed>]
[<SerializableAttribute>]
[<GuidAttribute("DB1F9035-ACC7-4f04-9DEF-4902A49BCD10")>]
type XmlSerializationException = 
    class
        inherit AmoException
    end
<SerializableAttribute>
<GuidAttribute("DB1F9035-ACC7-4f04-9DEF-4902A49BCD10")>
Public NotInheritable Class XmlSerializationException
    Inherits AmoException

Constructors

Name Description
System_CAPS_pubmethod XmlSerializationException()

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

System_CAPS_pubmethod XmlSerializationException(String)

Initializes a new instance of XmlSerializationException class using a message string.

System_CAPS_pubmethod XmlSerializationException(String, Exception)

Initializes a new instance of XmlSerializationException class using a message string and the inner Exception received.

System_CAPS_pubmethod XmlSerializationException(String, Exception, Int32, Int32)

Initializes a new instance of XmlSerializationException class using a message string, the inner Exception received, a line number, and line position.

Properties

Name Description
System_CAPS_pubproperty Data

(Inherited from Exception.)

System_CAPS_pubproperty HelpLink

(Inherited from Exception.)

System_CAPS_pubproperty InnerException

(Inherited from Exception.)

System_CAPS_pubproperty LineNumber

Gets or sets the line number where the exception occurred.

System_CAPS_pubproperty LinePosition

Gets or sets the line position where the exception occurred.

System_CAPS_pubproperty Message

(Inherited from Exception.)

System_CAPS_pubproperty Source

(Inherited from Exception.)

System_CAPS_pubproperty StackTrace

(Inherited from Exception.)

System_CAPS_pubproperty TargetSite

(Inherited from Exception.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the target object.(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)

System_CAPS_pubmethod GetType()

(Inherited from Exception.)

System_CAPS_pubmethod ToString()

(Inherited from Exception.)

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.

See Also

Microsoft.AnalysisServices Namespace

Return to top