Classe XmlSerializationException
Represents messages thrown during the XML de-serialization process. This class cannot be inherited.
Hiérarchie d'héritage
System.Object
System.Exception
Microsoft.AnalysisServices.AmoException
Microsoft.AnalysisServices.XmlSerializationException
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
<GuidAttribute("DB1F9035-ACC7-4f04-9DEF-4902A49BCD10")> _
Public NotInheritable Class XmlSerializationException _
Inherits AmoException
'Utilisation
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
Le type XmlSerializationException expose les membres suivants.
Constructeurs
Nom | 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. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
Data | (hérité de Exception.) | |
HelpLink | (hérité de Exception.) | |
HResult | (hérité de Exception.) | |
InnerException | (hérité de Exception.) | |
LineNumber | Gets or sets the line number where the exception occurred. | |
LinePosition | Gets or sets the line position where the exception occurred. | |
Message | (hérité de Exception.) | |
Source | (hérité de Exception.) | |
StackTrace | (hérité de Exception.) | |
TargetSite | (hérité de Exception.) |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
Equals | (hérité de Object.) | |
GetBaseException | (hérité de Exception.) | |
GetHashCode | (hérité de Object.) | |
GetObjectData | Infrastructure. Populates a SerializationInfo with the data needed to serialize the target object. (remplace Exception.GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | (hérité de Exception.) | |
ToString | (hérité de Exception.) |
Haut de la page
Notes
This type also represents messages thrown during the XML serialization process, but exceptions in that case are very rare.
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.