Partager via


Classe DtsScriptingException

The exception that is thrown when there is an error in a script task.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime
Assembly :  Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
Public Class DtsScriptingException _
    Inherits DtsException
'Utilisation
Dim instance As DtsScriptingException
[SerializableAttribute]
public class DtsScriptingException : DtsException
[SerializableAttribute]
public ref class DtsScriptingException : public DtsException
[<SerializableAttribute>]
type DtsScriptingException =  
    class
        inherit DtsException
    end
public class DtsScriptingException extends DtsException

Le type DtsScriptingException expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Data (hérité de Exception.)
Propriété publique ErrorCode Gets the error code that creates the appropriate exception class. This field is read-only. (hérité de DtsException.)
Propriété publique HelpLink (hérité de Exception.)
Propriété protégée HResult (hérité de Exception.)
Propriété publique InnerException (hérité de Exception.)
Propriété publique Message (hérité de Exception.)
Propriété publique Source (hérité de Exception.)
Propriété publique StackTrace (hérité de Exception.)
Propriété publique TargetSite (hérité de Exception.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetBaseException (hérité de Exception.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetObjectData (hérité de Exception.)
Méthode publique GetType (hérité de Exception.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Exception.)

Haut de la page

Notes

This class is instantiated by the DtsException class when an error occurs in a script task.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.