Partager via


Classe DacExtractionException

The DacExtractionException class is a an exception that is raised when an error occurs during extraction of a DAC package.

Hiérarchie d'héritage

System. . :: . .Object
  System. . :: . .Exception
    Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
      Microsoft.SqlServer.Management.Dac. . :: . .DacException
        Microsoft.SqlServer.Management.Dac..::..DacExtractionException

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

Syntaxe

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

Le type DacExtractionException expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique DacExtractionException(String) Initializes a new instance of the DacExtractionException class that has the specified message text.
Méthode publique DacExtractionException(String, Exception) Initializes a new instance of the DacExtractionException class that has the specified message text and inner exception.

Haut de la page

Propriétés

  Nom Description
Propriété publique DacExceptionType Gets the type of the exception. (hérité de DacException.)
Propriété publique Data (hérité de Exception.)
Propriété publique HelpLink Gets a string with the URL help link that further explains the exception. (hérité de DacException.)
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 Init Initializes provider properties. (hérité de DacException.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode protégée SetHelpContext Sets the help context for the help link. (hérité de DacException.)
Méthode publique ToString (hérité de Exception.)

Haut de la page

Notes

By using the DacExtractionException class you can do the following:

  • Handle errors generated by the DAC namespace during extraction.

  • Determine the cause of the error.

Thread Safety

Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

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.