Класс DtsNotAConnectionException

The exception that is thrown to specify that an internal error occurred when a managed wrapper is used for a native object that is not of the correct type.

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

System. . :: . .Object
  System. . :: . .Exception
    Microsoft.SqlServer.Dts.Runtime. . :: . .DtsException
      Microsoft.SqlServer.Dts.Runtime..::..DtsNotAConnectionException

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

Синтаксис

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

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

Свойства

  Имя Описание
Открытое свойство Data (Производный от Exception.)
Открытое свойство ErrorCode Gets the error code that creates the appropriate exception class. This field is read-only. (Производный от DtsException.)
Открытое свойство HelpLink (Производный от Exception.)
Защищенное свойство HResult (Производный от Exception.)
Открытое свойство InnerException (Производный от Exception.)
Открытое свойство Message (Производный от Exception.)
Открытое свойство Source (Производный от Exception.)
Открытое свойство StackTrace (Производный от Exception.)
Открытое свойство TargetSite (Производный от Exception.)

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetBaseException (Производный от Exception.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetObjectData (Производный от Exception.)
Открытый метод GetType (Производный от Exception.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Exception.)

В начало

Замечания

This error is not useable in a try...catch block.

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

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