Assembly: System.Workflow.ComponentModel (in system.workflow.componentmodel.dll)
XML Namespace: http://schemas.microsoft.com/winfx/2006/xaml
WorkflowMarkupSerializer provides methods that serialize workflow and Activity classes into XAML format and deserialize XAML content into workflow and activity class objects. These services are primarily used by workflow designers to persist the classes on the workflow design surface.
WorkflowMarkupSerializer is the base class for all markup serializers included in the System.Workflow.ComponentModel.Serialization namespace.
For more information, see Serialization.
WorkflowMarkupSerializer does not support serialization of nested types.
The functionality of WorkflowMarkupSerializer is dependent on functionality of other types outside of Windows Workflow Foundation. Based on the limitations of those other types, not all data types can be serialized through the WorkflowMarkupSerializer. The following is a list is an example of some unsupported types.
This is not an exhaustive and complete list of unsupported types.
Arrays (supported only if property is not decorated with DesignerSerializationVisibility.Content attribute value)
Types without parameterless constructors
Generic types (Generic List and Dictionary types supported only if property is decorated with DesignerSerializationVisibility.Content attribute value)
Enumerations decorated with the FlagsAttribute
In addition to this list, any property decorated with both the ContentPropertyAttibute and the DesignerSerializationVisibilityAttribute cannot be serialized by WorkflowMarkupSerializer.
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.