Класс DacExtractionException
The DacExtractionException class is a an exception that is raised when an error occurs during extraction of a DAC package.
Иерархия наследования
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Management.Common. . :: . .SqlServerManagementException
Microsoft.SqlServer.Management.Dac. . :: . .DacException
Microsoft.SqlServer.Management.Dac..::..DacExtractionException
Пространство имен: Microsoft.SqlServer.Management.Dac
Сборка: Microsoft.SqlServer.Management.Dac (в Microsoft.SqlServer.Management.Dac.dll)
Синтаксис
'Декларация
<SerializableAttribute> _
Public NotInheritable Class DacExtractionException _
Inherits DacException
'Применение
Dim instance As DacExtractionException
[SerializableAttribute]
public sealed class DacExtractionException : DacException
[SerializableAttribute]
public ref class DacExtractionException sealed : public DacException
[<SealedAttribute>]
[<SerializableAttribute>]
type DacExtractionException =
class
inherit DacException
end
public final class DacExtractionException extends DacException
Тип DacExtractionException обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
![]() |
DacExtractionException(String) | Initializes a new instance of the DacExtractionException class that has the specified message text. |
![]() |
DacExtractionException(String, Exception) | Initializes a new instance of the DacExtractionException class that has the specified message text and inner exception. |
В начало
Свойства
Имя | Описание | |
---|---|---|
![]() |
DacExceptionType | Gets the type of the exception. (Производный от DacException.) |
![]() |
Data | (Производный от Exception.) |
![]() |
HelpLink | Gets a string with the URL help link that further explains the exception. (Производный от DacException.) |
![]() |
HResult | (Производный от Exception.) |
![]() |
InnerException | (Производный от Exception.) |
![]() |
Message | (Производный от Exception.) |
![]() |
Source | (Производный от Exception.) |
![]() |
StackTrace | (Производный от Exception.) |
![]() |
TargetSite | (Производный от Exception.) |
В начало
Методы
Имя | Описание | |
---|---|---|
![]() |
Equals | (Производный от Object.) |
![]() |
Finalize | (Производный от Object.) |
![]() |
GetBaseException | (Производный от Exception.) |
![]() |
GetHashCode | (Производный от Object.) |
![]() |
GetObjectData | (Производный от Exception.) |
![]() |
GetType | (Производный от Exception.) |
![]() |
Init | Initializes provider properties. (Производный от DacException.) |
![]() |
MemberwiseClone | (Производный от Object.) |
![]() |
SetHelpContext | Sets the help context for the help link. (Производный от DacException.) |
![]() |
ToString | (Производный от Exception.) |
В начало
Замечания
By using the DacExtractionException class you can do the following:
Handle errors generated by the DAC namespace during extraction.
Determine the cause of the error.
Thread Safety
Все общие статические члены этого типа (Shared в Microsoft Visual Basic) можно использовать в многопоточных операциях. Безопасная многопоточная работа с членами экземпляров типа не гарантируется.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.
См. также