Класс DacModelException

Provides an exception throw from DAC model errors.

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Dac.Model
Сборка:  Microsoft.SqlServer.Dac.Extensions (в Microsoft.SqlServer.Dac.Extensions.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
Public Class DacModelException _
    Inherits Exception
'Применение
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

Тип DacModelException обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод DacModelException() Initializes a new instance of the DacModelException class.
Открытый метод DacModelException(String) Initializes a new instance of the DacModelException class with the specified error message.
Защищенный метод DacModelException(SerializationInfo, StreamingContext) Initializes a new instance of the DacModelException class with specified SerializationInfo and StreamingContext.
Открытый метод 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.

В начало

Свойства

  Имя Описание
Открытое свойство Data (Производный от Exception.)
Открытое свойство HelpLink (Производный от Exception.)
Открытое свойство HResult (Производный от Exception.)
Открытое свойство InnerException (Производный от Exception.)
Открытое свойство Message (Производный от Exception.)
Открытое свойство Messages Gets the collection of additional error, warning, and informational messages associated with this exception.
Открытое свойство Source (Производный от Exception.)
Открытое свойство StackTrace (Производный от Exception.)
Открытое свойство TargetSite (Производный от Exception.)

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetBaseException (Производный от Exception.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetObjectData Writes an exception information to the supplied SerializationInfo object. (Переопределяет Exception.GetObjectData(SerializationInfo, StreamingContext).)
Открытый метод GetType (Производный от Exception.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Exception.)

В начало

События

  Имя Описание
Защищенное событие SerializeObjectState (Производный от Exception.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.SqlServer.Dac.Model