Redigera

Dela via


ActivityCodeDomSerializationManager.ReportError(Object) Method

Definition

Reports an error in serialization.

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)

Parameters

errorInformation
Object

An Object that contains the error to report.

Implements

Remarks

errorInformation can be of any object type. If the object is an exception, the message of the exception is extracted and reported to the user. If the object is any other type, Object.ToString

is called to display the information to the user.

ReportError provides an indirect reference to the SerializationManager method of the same name.

Applies to