Freigeben über


DacModelException-Klasse

Provides an exception throw from DAC model errors.

Vererbungshierarchie

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

Namespace:  Microsoft.SqlServer.Dac.Model
Assembly:  Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class DacModelException _
    Inherits Exception
'Usage
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

Der DacModelException-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode DacModelException() Initializes a new instance of the DacModelException class.
Öffentliche Methode DacModelException(String) Initializes a new instance of the DacModelException class with the specified error message.
Geschützte Methode DacModelException(SerializationInfo, StreamingContext) Initializes a new instance of the DacModelException class with specified SerializationInfo and StreamingContext.
Öffentliche Methode 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.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Data (Geerbt von Exception.)
Öffentliche Eigenschaft HelpLink (Geerbt von Exception.)
Öffentliche Eigenschaft HResult (Geerbt von Exception.)
Öffentliche Eigenschaft InnerException (Geerbt von Exception.)
Öffentliche Eigenschaft Message (Geerbt von Exception.)
Öffentliche Eigenschaft Messages Gets the collection of additional error, warning, and informational messages associated with this exception.
Öffentliche Eigenschaft Source (Geerbt von Exception.)
Öffentliche Eigenschaft StackTrace (Geerbt von Exception.)
Öffentliche Eigenschaft TargetSite (Geerbt von Exception.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetBaseException (Geerbt von Exception.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetObjectData Writes an exception information to the supplied SerializationInfo object. (Überschreibt Exception.GetObjectData(SerializationInfo, StreamingContext).)
Öffentliche Methode GetType (Geerbt von Exception.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Exception.)

Zum Anfang

Ereignisse

  Name Beschreibung
Geschütztes Ereignis SerializeObjectState (Geerbt von Exception.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Dac.Model-Namespace