Класс DacServicesException

Exception thrown for DAC service errors.

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

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

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

Синтаксис

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

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

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

  Имя Описание
Открытый метод DacServicesException() Construct a new instance of the DacServicesException class.
Открытый метод DacServicesException(String) Construct a new instance of the DacServicesException class with the specified error message.
Открытый метод 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.

В начало

Свойства

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

В начало

Методы

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

В начало

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

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

См. также

Справочник

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