Freigeben über


XmlSerializationException-Klasse

Represents messages thrown during the XML de-serialization process. This class cannot be inherited.

Vererbungshierarchie

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

Der XmlSerializationException-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode XmlSerializationException() Initializes a new instance of XmlSerializationException class using the default values.
Öffentliche Methode XmlSerializationException(String) Initializes a new instance of XmlSerializationException class using a message string.
Öffentliche Methode XmlSerializationException(String, Exception) Initializes a new instance of XmlSerializationException class using a message string and the inner Exception received.
Öffentliche Methode 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.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Data (Geerbt von Exception.)
Öffentliche Eigenschaft HelpLink (Geerbt von Exception.)
Öffentliche Eigenschaft HResult (Geerbt von Exception.)
Öffentliche Eigenschaft InnerException (Geerbt von Exception.)
Öffentliche Eigenschaft LineNumber Gets or sets the line number where the exception occurred.
Öffentliche Eigenschaft LinePosition Gets or sets the line position where the exception occurred.
Öffentliche Eigenschaft Message (Geerbt von Exception.)
Öffentliche Eigenschaft Source (Geerbt von Exception.)
Öffentliche Eigenschaft StackTrace (Geerbt von Exception.)
Öffentliche Eigenschaft TargetSite (Geerbt von Exception.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode GetBaseException (Geerbt von Exception.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetObjectData Infrastruktur Populates a SerializationInfo with the data needed to serialize the target object. (Überschreibt Exception.GetObjectData(SerializationInfo, StreamingContext).)
Öffentliche Methode GetType (Geerbt von Exception.)
Öffentliche Methode ToString (Geerbt von Exception.)

Zum Anfang

Hinweise

This type also represents messages thrown during the XML serialization process, but exceptions in that case are very rare.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.AnalysisServices-Namespace