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 | |
---|---|---|
XmlSerializationException() | Initializes a new instance of XmlSerializationException class using the default values. |
|
XmlSerializationException(String) | Initializes a new instance of XmlSerializationException class using a message string. |
|
XmlSerializationException(String, Exception) | Initializes a new instance of XmlSerializationException class using a message string and the inner Exception received. |
|
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 | |
---|---|---|
Data | (Inherited from Exception.) |
|
HelpLink | (Inherited from Exception.) |
|
InnerException | (Inherited from Exception.) |
|
LineNumber | Gets or sets the line number where the exception occurred. |
|
LinePosition | Gets or sets the line position where the exception occurred. |
|
Message | (Inherited from Exception.) |
|
Source | (Inherited from Exception.) |
|
StackTrace | (Inherited from Exception.) |
|
TargetSite | (Inherited from Exception.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetBaseException() | (Inherited from Exception.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetObjectData(SerializationInfo, StreamingContext) | Populates a SerializationInfo with the data needed to serialize the target object.(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).) |
|
GetType() | (Inherited from Exception.) |
|
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