ActivityCodeDomSerializationManager.ReportError(Object) 方法

定義

報告序號錯誤。

public:
 virtual void ReportError(System::Object ^ errorInformation);
public void ReportError(object errorInformation);
abstract member ReportError : obj -> unit
override this.ReportError : obj -> unit
Public Sub ReportError (errorInformation As Object)

參數

errorInformation
Object

一個 Object 包含錯誤要回報的檔案。

實作

備註

errorInformation 可以是任何物件類型。 若物件為例外,則會擷取該異常訊息並回報給使用者。 如果物件是其他類型, Object.ToString

被呼叫以顯示資訊給使用者。

ReportError 間接指向 SerializationManager 同名方法。

適用於