Класс 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) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.