Share via


Classe SfcEmptyXmlException

The exception that is thrown during deserialization if the XML is either empty or does not contain any XML that can be deserialized. 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..::..SfcEmptyXmlException

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 SfcEmptyXmlException _
    Inherits SfcException
'Utilisation
Dim instance As SfcEmptyXmlException
[SerializableAttribute]
public sealed class SfcEmptyXmlException : SfcException
[SerializableAttribute]
public ref class SfcEmptyXmlException sealed : public SfcException
[<SealedAttribute>]
[<SerializableAttribute>]
type SfcEmptyXmlException =  
    class
        inherit SfcException
    end
public final class SfcEmptyXmlException extends SfcException

Le type SfcEmptyXmlException expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique SfcEmptyXmlException() () () () Initializes a new instance of the SfcEmptyXmlException class. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Méthode publique SfcEmptyXmlException(String) Initializes a new instance of the SfcEmptyXmlException 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 SfcEmptyXmlException(String, Exception) Initializes a new instance of the SfcEmptyXmlException 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 Gets the error message. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server. (remplace Exception. . :: . .Message.)
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.