Partager via


DtsNotATaskException Class

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.

Espace de noms: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
Public NotInheritable Class DtsNotATaskException
    Inherits DtsException
[SerializableAttribute] 
public sealed class DtsNotATaskException : DtsException
[SerializableAttribute] 
public ref class DtsNotATaskException sealed : public DtsException
/** @attribute SerializableAttribute() */ 
public final class DtsNotATaskException extends DtsException
SerializableAttribute 
public final class DtsNotATaskException extends DtsException

Notes

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

Inheritance Hierarchy

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

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

DtsNotATaskException Members
Microsoft.SqlServer.Dts.Runtime Namespace