Share via


Classe SfcInvalidXmlParentTypeException

The exception that is thrown during deserialization if a parent type is specified and it is not the correct type to parent the top-level objects contained in the XML. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Hiérarchie d'héritage

System. . :: . .Object
  System. . :: . .Exception
    Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
      Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcException
        Microsoft.SqlServer.Management.Sdk.Sfc..::..SfcInvalidXmlParentTypeException

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
Public NotInheritable Class SfcInvalidXmlParentTypeException _
    Inherits SfcException
'Utilisation
Dim instance As SfcInvalidXmlParentTypeException
[SerializableAttribute]
public sealed class SfcInvalidXmlParentTypeException : SfcException
[SerializableAttribute]
public ref class SfcInvalidXmlParentTypeException sealed : public SfcException
[<SealedAttribute>]
[<SerializableAttribute>]
type SfcInvalidXmlParentTypeException =  
    class
        inherit SfcException
    end
public final class SfcInvalidXmlParentTypeException extends SfcException

Le type SfcInvalidXmlParentTypeException expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique SfcInvalidXmlParentTypeException() () () () Initializes a new instance of the SfcInvalidXmlParentTypeException class. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique SfcInvalidXmlParentTypeException(String) Initializes a new instance of the SfcInvalidXmlParentTypeException class with the specified error message. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique SfcInvalidXmlParentTypeException(String, Exception) Initializes a new instance of the SfcInvalidXmlParentTypeException class with the specified error message and a reference to the inner exception that is the cause of this exception. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Haut de la page

Propriétés

  Nom Description
Propriété publique Data (hérité de Exception.)
Propriété publique HelpLink Gets a link to the help file associated with this exception. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcException.)
Propriété protégée HResult (hérité de Exception.)
Propriété publique InnerException (hérité de Exception.)
Propriété publique Message (hérité de Exception.)
Propriété publique Source (hérité de Exception.)
Propriété publique StackTrace (hérité de Exception.)
Propriété publique TargetSite (hérité de Exception.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetBaseException (hérité de Exception.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetObjectData (hérité de Exception.)
Méthode publique GetType (hérité de Exception.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode protégée SetHelpContext Sets the help context value for the referenced exception. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (hérité de SfcException.)
Méthode publique ToString (hérité de Exception.)

Haut de la page

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.