Share via


DtsNotAConnectionException Clase

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.

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime
Ensamblado:  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Sintaxis

'Declaración
<SerializableAttribute> _
Public NotInheritable Class DtsNotAConnectionException _
    Inherits DtsException
'Uso
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

Notas

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

Jerarquía de herencia

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

Seguridad para subprocesos

Todos los miembros públicos static (Shared en Visual Basic) de este tipo son seguros para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.