Share via


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 方法的間接參考。

適用於