Редагувати

Поділитися через


WorkflowMarkupSerializer.Deserialize Method

Definition

Deserializes the serialized extensible Application Markup Language (XAML) contained in a specified TextReader.

Overloads

Deserialize(XmlReader)

Deserializes workflow markup into an Object.

Deserialize(IDesignerSerializationManager, XmlReader)

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

Deserialize(XmlReader)

Deserializes workflow markup into an Object.

public:
 System::Object ^ Deserialize(System::Xml::XmlReader ^ reader);
public object Deserialize (System.Xml.XmlReader reader);
member this.Deserialize : System.Xml.XmlReader -> obj
Public Function Deserialize (reader As XmlReader) As Object

Parameters

reader
XmlReader

An XmlReader that contains the workflow definition.

Returns

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

Remarks

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

Applies to

Deserialize(IDesignerSerializationManager, XmlReader)

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

public:
 System::Object ^ Deserialize(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ serializationManager, System::Xml::XmlReader ^ reader);
public object Deserialize (System.ComponentModel.Design.Serialization.IDesignerSerializationManager serializationManager, System.Xml.XmlReader reader);
member this.Deserialize : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * System.Xml.XmlReader -> obj
Public Function Deserialize (serializationManager As IDesignerSerializationManager, reader As XmlReader) As Object

Parameters

serializationManager
IDesignerSerializationManager

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

reader
XmlReader

An XmlReader that contains the workflow definition.

Returns

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

Exceptions

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

-or-

reader is a null reference (Nothing).

Remarks

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

Applies to