Serializes an Object into extensible Application Markup Language (XAML) format.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
|Serialize(XmlWriter, Object)||Serializes the specified Object into a workflow markup file or stream.|
|Serialize(IDesignerSerializationManager, XmlWriter, Object)||Serializes the specified Object into a workflow markup file or stream using the specified serialization manager.|
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 of some unsupported types.
This is not an exhaustive and complete list of unsupported types.
Arrays (supported only if property is decorated with DesignerSerializationVisibility.Content attribute value)
Generic types (Generic List and Dictionary types supported only if property is decorated with DesignerSerializationVisibility.Content attribute value)
In addition to this list, any property decorated with both the ContentPropertyAttibute and the DesignerSerializationVisibilityAttribute cannot be serialized by WorkflowMarkupSerializer.