DtsTaskException 類別
The exception that is thrown when an error occurs in a task.
繼承階層
System.Object
System.Exception
Microsoft.SqlServer.Dts.Runtime.DtsException
Microsoft.SqlServer.Dts.Runtime.DtsTaskException
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)
語法
'宣告
<SerializableAttribute> _
Public Class DtsTaskException _
Inherits DtsException
'用途
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
DtsTaskException 型別公開下列成員。
建構函式
名稱 | 說明 | |
---|---|---|
![]() |
DtsTaskException(COMException) | Initializes a new instance of the DtsTaskException class with specified COM exception. |
![]() |
DtsTaskException(String) | Initializes a new instance of the DtsTaskException class. |
上層
屬性
名稱 | 說明 | |
---|---|---|
![]() |
Data | (繼承自 Exception。) |
![]() |
ErrorCode | Gets the error code that creates the appropriate exception class. This field is read-only. (繼承自 DtsException。) |
![]() |
HelpLink | (繼承自 Exception。) |
![]() |
HResult | (繼承自 Exception。) |
![]() |
InnerException | (繼承自 Exception。) |
![]() |
Message | (繼承自 Exception。) |
![]() |
Source | (繼承自 Exception。) |
![]() |
StackTrace | (繼承自 Exception。) |
![]() |
TargetSite | (繼承自 Exception。) |
上層
方法
名稱 | 說明 | |
---|---|---|
![]() |
Equals | (繼承自 Object。) |
![]() |
Finalize | (繼承自 Object。) |
![]() |
GetBaseException | (繼承自 Exception。) |
![]() |
GetHashCode | (繼承自 Object。) |
![]() |
GetObjectData | 安全性關鍵。 (繼承自 Exception。) |
![]() |
GetType | (繼承自 Exception。) |
![]() |
MemberwiseClone | (繼承自 Object。) |
![]() |
ToString | (繼承自 Exception。) |
上層
事件
名稱 | 說明 | |
---|---|---|
![]() |
SerializeObjectState | (繼承自 Exception。) |
上層
備註
This class is instantiated by the DtsException class when an error occurs in a component.
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。