DtsTaskException Class
The exception that is thrown when an error occurs in a task.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.SqlServer.Dts.Runtime.DtsException
Microsoft.SqlServer.Dts.Runtime.DtsTaskException
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class DtsTaskException _
Inherits DtsException
'Usage
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
The DtsTaskException type exposes the following members.
Constructors
| Name | 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. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
Data | (Inherited from Exception.) |
![]() |
ErrorCode | Gets the error code that creates the appropriate exception class. This field is read-only. (Inherited from DtsException.) |
![]() |
HelpLink | (Inherited from Exception.) |
![]() |
HResult | (Inherited from Exception.) |
![]() |
InnerException | (Inherited from Exception.) |
![]() |
Message | (Inherited from Exception.) |
![]() |
Source | (Inherited from Exception.) |
![]() |
StackTrace | (Inherited from Exception.) |
![]() |
TargetSite | (Inherited from Exception.) |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetBaseException | (Inherited from Exception.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetObjectData | (Inherited from Exception.) |
![]() |
GetType | (Inherited from Exception.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | (Inherited from Exception.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)
.gif)
.gif)