Classe DtsTaskException
The exception that is thrown when an error occurs in a task.
Hiérarchie d'héritage
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Dts.Runtime. . :: . .DtsException
Microsoft.SqlServer.Dts.Runtime..::..DtsTaskException
Espace de noms : Microsoft.SqlServer.Dts.Runtime
Assembly : Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)
Syntaxe
'Déclaration
<SerializableAttribute> _
Public Class DtsTaskException _
Inherits DtsException
'Utilisation
Dim instance As DtsTaskException
[SerializableAttribute]
public class DtsTaskException : DtsException
[SerializableAttribute]
public ref class DtsTaskException : public DtsException
[<SerializableAttribute>]
type DtsTaskException =
class
inherit DtsException
end
public class DtsTaskException extends DtsException
Le type DtsTaskException expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
![]() |
DtsTaskException(COMException) | This constructor is used when your custom task contains a COM exception. |
![]() |
DtsTaskException(String) | This constructor is used when your custom task contains a string version of the exception. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
![]() |
Data | (hérité de Exception.) |
![]() |
ErrorCode | Gets the error code that creates the appropriate exception class. This field is read-only. (hérité de DtsException.) |
![]() |
HelpLink | (hérité de Exception.) |
![]() |
HResult | (hérité de Exception.) |
![]() |
InnerException | (hérité de Exception.) |
![]() |
Message | (hérité de Exception.) |
![]() |
Source | (hérité de Exception.) |
![]() |
StackTrace | (hérité de Exception.) |
![]() |
TargetSite | (hérité de Exception.) |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
![]() |
Equals | (hérité de Object.) |
![]() |
Finalize | (hérité de Object.) |
![]() |
GetBaseException | (hérité de Exception.) |
![]() |
GetHashCode | (hérité de Object.) |
![]() |
GetObjectData | (hérité de Exception.) |
![]() |
GetType | (hérité de Exception.) |
![]() |
MemberwiseClone | (hérité de Object.) |
![]() |
ToString | (hérité de Exception.) |
Haut de la page
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.