Partager via


Classe DacModelException

Provides an exception throw from DAC model errors.

Hiérarchie d'héritage

System.Object
  System.Exception
    Microsoft.SqlServer.Dac.Model.DacModelException
      Microsoft.SqlServer.Dac.Deployment.DeploymentFailedException

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

Syntaxe

'Déclaration
<SerializableAttribute> _
Public Class DacModelException _
    Inherits Exception
'Utilisation
Dim instance As DacModelException
[SerializableAttribute]
public class DacModelException : Exception
[SerializableAttribute]
public ref class DacModelException : public Exception
[<SerializableAttribute>]
type DacModelException =  
    class 
        inherit Exception 
    end
public class DacModelException extends Exception

Le type DacModelException expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique DacModelException() Initializes a new instance of the DacModelException class.
Méthode publique DacModelException(String) Initializes a new instance of the DacModelException class with the specified error message.
Méthode protégée DacModelException(SerializationInfo, StreamingContext) Initializes a new instance of the DacModelException class with specified SerializationInfo and StreamingContext.
Méthode publique DacModelException(String, Exception) Initializes a new instance of the DacModelException class with the specified error message and a reference to the inner exception that is the cause of this exception.

Haut de la page

Propriétés

  Nom Description
Propriété publique Data (hérité de Exception.)
Propriété publique HelpLink (hérité de Exception.)
Propriété publique HResult (hérité de Exception.)
Propriété publique InnerException (hérité de Exception.)
Propriété publique Message (hérité de Exception.)
Propriété publique Messages Gets the collection of additional error, warning, and informational messages associated with this 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 Writes an exception information to the supplied SerializationInfo object. (remplace Exception.GetObjectData(SerializationInfo, StreamingContext).)
Méthode publique GetType (hérité de Exception.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Exception.)

Haut de la page

Événements

  Nom Description
Événement protégé SerializeObjectState (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.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dac.Model