Partager via


Classe DacServicesException

Exception thrown for DAC service errors.

Hiérarchie d'héritage

System.Object
  System.Exception
    Microsoft.SqlServer.Dac.DacServicesException

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

Syntaxe

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

Le type DacServicesException expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique DacServicesException() Construct a new instance of the DacServicesException class.
Méthode publique DacServicesException(String) Construct a new instance of the DacServicesException class with the specified error message.
Méthode publique DacServicesException(String, Exception) Construct a new instance of the DacServicesException 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 Get 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 publique GetBaseException (hérité de Exception.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetObjectData Write exception information to the supplied SerializationInfo object. (remplace Exception.GetObjectData(SerializationInfo, StreamingContext).)
Méthode publique GetType (hérité de Exception.)
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.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dac