Share via


DacModelException Class

Provides an exception throw from DAC model errors.

Inheritance Hierarchy

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

The DacModelException type exposes the following members.

Constructors

  Name Description
Public method DacModelException() Initializes a new instance of the DacModelException class.
Public method DacModelException(String) Initializes a new instance of the DacModelException class with the specified error message.
Protected method DacModelException(SerializationInfo, StreamingContext) Initializes a new instance of the DacModelException class with specified SerializationInfo and StreamingContext.
Public method 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.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property HelpLink (Inherited from Exception.)
Public property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property Messages Gets the collection of additional error, warning, and informational messages associated with this exception.
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Writes an exception information to the supplied SerializationInfo object. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Top

Events

  Name Description
Protected event SerializeObjectState (Inherited from Exception.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dac.Model Namespace