XmlSerializationException 类
Represents messages thrown during the XML de-serialization process. This class cannot be inherited.
继承层次结构
System.Object
System.Exception
Microsoft.AnalysisServices.AmoException
Microsoft.AnalysisServices.XmlSerializationException
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
<SerializableAttribute> _
<GuidAttribute("DB1F9035-ACC7-4f04-9DEF-4902A49BCD10")> _
Public NotInheritable Class XmlSerializationException _
Inherits AmoException
用法
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
XmlSerializationException 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
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. |
页首
属性
名称 | 说明 | |
---|---|---|
Data | (从 Exception 继承。) | |
HelpLink | (从 Exception 继承。) | |
HResult | (从 Exception 继承。) | |
InnerException | (从 Exception 继承。) | |
LineNumber | Gets or sets the line number where the exception occurred. | |
LinePosition | Gets or sets the line position where the exception occurred. | |
Message | (从 Exception 继承。) | |
Source | (从 Exception 继承。) | |
StackTrace | (从 Exception 继承。) | |
TargetSite | (从 Exception 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
Equals | (从 Object 继承。) | |
GetBaseException | (从 Exception 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetObjectData | 基础结构。Populates a SerializationInfo with the data needed to serialize the target object. (覆盖 Exception.GetObjectData(SerializationInfo, StreamingContext)。) | |
GetType | (从 Exception 继承。) | |
ToString | (从 Exception 继承。) |
页首
注释
This type also represents messages thrown during the XML serialization process, but exceptions in that case are very rare.
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。