WorkflowMarkupSerializer.Deserialize Method (IDesignerSerializationManager, XmlReader)

 

Deserializes workflow markup into an Object using the specified serialization manager.

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

public object Deserialize(
	IDesignerSerializationManager serializationManager,
	XmlReader reader
)

Parameters

serializationManager
Type: System.ComponentModel.Design.Serialization.IDesignerSerializationManager

An object that implements the IDesignerSerializationManager interface, such as DesignerSerializationManager.

reader
Type: System.Xml.XmlReader

An XmlReader that contains the workflow definition.

Return Value

Type: System.Object

An Object that contains the definition of the workflow defined in the workflow markup file or stream.

Exception Condition
ArgumentNullException

serializationManager is a null reference (Nothing in Visual Basic).

ArgumentNullException

reader is a null reference (Nothing).

For more information on workflow markup, see Using Workflow Markup.

.NET Framework
Available since 3.0
Return to top
Show: