Compartir a través de


Clase 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.

Jerarquía de herencia

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

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

El tipo DtsNotAConnectionException expone los siguientes miembros.

Propiedades

  Nombre Descripción
Propiedad pública Data (Se hereda de Exception.)
Propiedad pública ErrorCode Gets the error code that creates the appropriate exception class. This field is read-only. (Se hereda de DtsException.)
Propiedad pública HelpLink (Se hereda de Exception.)
Propiedad pública HResult (Se hereda de Exception.)
Propiedad pública InnerException (Se hereda de Exception.)
Propiedad pública Message (Se hereda de Exception.)
Propiedad pública Source (Se hereda de Exception.)
Propiedad pública StackTrace (Se hereda de Exception.)
Propiedad pública TargetSite (Se hereda de Exception.)

Arriba

Métodos

  Nombre Descripción
Método público Equals (Se hereda de Object.)
Método público GetBaseException (Se hereda de Exception.)
Método público GetHashCode (Se hereda de Object.)
Método público GetObjectData Importante para la seguridad. (Se hereda de Exception.)
Método público GetType (Se hereda de Exception.)
Método público ToString (Se hereda de Exception.)

Arriba

Comentarios

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

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.

Vea también

Referencia

Espacio de nombres Microsoft.SqlServer.Dts.Runtime