Export (0) Print
Expand All

WorkflowMarkupSerializer.Serialize Method

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.

  Name Description
Public method Serialize(XmlWriter, Object) Serializes the specified Object into a workflow markup file or stream.
Public method Serialize(IDesignerSerializationManager, XmlWriter, Object) Serializes the specified Object into a workflow markup file or stream using the specified serialization manager.
Top

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.

Note Note

This is not an exhaustive and complete list of unsupported types.

Arrays (supported only if property is decorated with DesignerSerializationVisibility.Content attribute value)

Parameterless Constructors

Multidimensional Arrays

Generic types (Generic List and Dictionary types supported only if property is decorated with DesignerSerializationVisibility.Content attribute value)

Hashtable

Queue

Stack

XmlDocument

MailMessage

Bitmap

Enumeration Arrays

In addition to this list, any property decorated with both the ContentPropertyAttibute and the DesignerSerializationVisibilityAttribute cannot be serialized by WorkflowMarkupSerializer.

Show:
© 2014 Microsoft