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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。