語言

IErrorCollectionService 介面

定義

當你需要捕捉該元件提出的所有錯誤和警告時,它會從資料流元件中擷取事件,而非只收到最後一個錯誤或警告。

public interface class IErrorCollectionService
public interface IErrorCollectionService
type IErrorCollectionService = interface
Public Interface IErrorCollectionService

方法

名稱 Description
ClearErrors()

清除錯誤快取。

GetErrorMessage()

回傳一個包含合併錯誤訊息的字串,包含錯誤訊息、元件及子元件,對每個錯誤皆有回報。

GetErrorMessage(Boolean)

回傳包含錯誤訊息的字串。

GetErrors()

擷取錯誤清單並儲存在 ICollection 中。

HasErrors(TraceLevel)

顯示催收服務是否有錯誤。

適用於