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 | |
---|---|---|
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. |
Top
Properties
Name | Description | |
---|---|---|
Data | (Inherited from Exception.) | |
HelpLink | (Inherited from Exception.) | |
HResult | (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.) |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetBaseException | (Inherited from Exception.) | |
GetHashCode | (Inherited from Object.) | |
GetObjectData | Infrastructure. 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.) |
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.