Share via


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 using the default values.
公共方法 XmlSerializationException(String) Initializes a new instance of XmlSerializationException using a message string.
公共方法 XmlSerializationException(String, Exception) Initializes a new instance of XmlSerializationException, using a message string and the inner Exception received.
公共方法 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.

页首

属性

  名称 说明
公共属性 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 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetBaseException (从 Exception 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetObjectData 基础结构。l (覆盖 Exception. . :: . .GetObjectData(SerializationInfo, StreamingContext)。)
公共方法 GetType (从 Exception 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。