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.

C#
public object Deserialize(System.Xml.XmlReader reader);

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

.NET Framework 4.8.1 a ďalšie verzie
Produkt Verzie
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Deserialize(IDesignerSerializationManager, XmlReader)

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

C#
public object Deserialize(System.ComponentModel.Design.Serialization.IDesignerSerializationManager serializationManager, System.Xml.XmlReader reader);

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

.NET Framework 4.8.1 a ďalšie verzie
Produkt Verzie
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1