Класс DtsError

Contains information about an error that occurred during execution. This class cannot be inherited.

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

System. . :: . .Object
  Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
    Microsoft.SqlServer.Dts.Runtime..::..DtsError

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

Синтаксис

'Декларация
Public NotInheritable Class DtsError _
    Inherits DtsObject
'Применение
Dim instance As DtsError
public sealed class DtsError : DtsObject
public ref class DtsError sealed : public DtsObject
[<SealedAttribute>]
type DtsError =  
    class
        inherit DtsObject
    end
public final class DtsError extends DtsObject

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

Свойства

  Имя Описание
Открытое свойство Description Gets or sets a text description for the error.
Открытое свойство ErrorCode Gets or sets an error code that identifies the error.
Открытое свойство HelpContext Gets or sets the Help context ID.
Открытое свойство HelpFile Gets or sets the name of the Help file.
Открытое свойство IDOfInterfaceWithError Gets or sets the name of the interface that raised the error.
Открытое свойство Source Gets or sets the identifier of the object that caused the event.
Открытое свойство SubComponent Gets or sets the subcomponent that raised the error.
Открытое свойство TimeStamp Returns the timestamp for when the error occurred. This value is read-only.

В начало

Методы

  Имя Описание
Открытый метод Equals Determines whether two object instances are equal. (Производный от DtsObject.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode Returns the hash code for this instance. (Производный от DtsObject.)
Открытый метод GetType (Производный от Object.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Замечания

The collection of errors that occur is found in the DtsErrors collection. This class inherits from DtsObject.

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

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