WorkflowMarkupSerializationManager.ReportError Method (Object)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Reports an error in serialization.

Namespace:   System.Workflow.ComponentModel.Serialization
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public void ReportError(
	object errorInformation


Type: System.Object

The error to report.

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

.NET Framework
Available since 3.0
Return to top