IComponentErrorInfo 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供由 SSIS 控制流程或資料流元件在設計過程中產生的錯誤或警告事件的詳細資訊。
public interface class IComponentErrorInfo
public interface IComponentErrorInfo
type IComponentErrorInfo = interface
Public Interface IComponentErrorInfo
屬性
| 名稱 | Description |
|---|---|
| Component |
回傳引發事件的物件的 IComponent 介面。 |
| Description |
回傳訊息內容。 |
| ErrorCode |
回傳一個整數,以識別錯誤訊息。 |
| HelpContext |
回傳說明檔案中主題的識別碼。 |
| HelpFile |
回傳包含詳細資訊的說明檔案路徑。 |
| Level |
回傳 TraceLevel 枚舉值,指示 Debug、Trace 及 TraceSwitch 類別應輸出哪些訊息。 |
| SourceComponent |
回傳錯誤來源元件名稱。 |
| SubComponent |
回傳一個任意字串,用以識別來源中的子模組:例如管線任務中的轉換。 |
方法
| 名稱 | Description |
|---|---|
| GetMessage() |
回傳一個包含錯誤訊息、元件及子元件的字串,對每個錯誤。 |
| GetMessage(Boolean) |
回傳包含錯誤訊息的字串。 |