ActivityMarkupSerializer ActivityMarkupSerializer ActivityMarkupSerializer ActivityMarkupSerializer Class

Definition

Warning

This API is now obsolete.

Provides extensible Application Markup Language (XAML) serialization services for an Activity at design time.

public ref class ActivityMarkupSerializer : System::Workflow::ComponentModel::Serialization::WorkflowMarkupSerializer
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ActivityMarkupSerializer : System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializer
type ActivityMarkupSerializer = class
    inherit WorkflowMarkupSerializer
Public Class ActivityMarkupSerializer
Inherits WorkflowMarkupSerializer
Inheritance
ActivityMarkupSerializerActivityMarkupSerializerActivityMarkupSerializerActivityMarkupSerializer
Derived
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

ActivityMarkupSerializer provides methods that serialize activity class objects into XAML format and deserialize XAML content into activity class objects. These services are primarily used by activity designers to persist the classes on the workflow design surface.

For more information about serialization, see Serialization.

Constructors

ActivityMarkupSerializer() ActivityMarkupSerializer() ActivityMarkupSerializer() ActivityMarkupSerializer()

Initializes a new instance of the ActivityMarkupSerializer class.

Fields

EndColumnProperty EndColumnProperty EndColumnProperty EndColumnProperty

The index of the last character in the activity definition.

EndLineProperty EndLineProperty EndLineProperty EndLineProperty

The index of the last line in the activity definition.

StartColumnProperty StartColumnProperty StartColumnProperty StartColumnProperty

The index of the first character in the activity definition.

StartLineProperty StartLineProperty StartLineProperty StartLineProperty

The index of the first line in the activity definition.

Methods

AddChild(WorkflowMarkupSerializationManager, Object, Object) AddChild(WorkflowMarkupSerializationManager, Object, Object) AddChild(WorkflowMarkupSerializationManager, Object, Object) AddChild(WorkflowMarkupSerializationManager, Object, Object)

Adds a child object to the specified object.

(Inherited from WorkflowMarkupSerializer)
CanSerializeToString(WorkflowMarkupSerializationManager, Object) CanSerializeToString(WorkflowMarkupSerializationManager, Object) CanSerializeToString(WorkflowMarkupSerializationManager, Object) CanSerializeToString(WorkflowMarkupSerializationManager, Object)

Returns a Boolean that indicates whether the specified object can be serialized to a string.

(Inherited from WorkflowMarkupSerializer)
ClearChildren(WorkflowMarkupSerializationManager, Object) ClearChildren(WorkflowMarkupSerializationManager, Object) ClearChildren(WorkflowMarkupSerializationManager, Object) ClearChildren(WorkflowMarkupSerializationManager, Object)

Removes all child objects from the specified object.

(Inherited from WorkflowMarkupSerializer)
CreateInstance(WorkflowMarkupSerializationManager, Type) CreateInstance(WorkflowMarkupSerializationManager, Type) CreateInstance(WorkflowMarkupSerializationManager, Type) CreateInstance(WorkflowMarkupSerializationManager, Type)

Creates an instance of the specified Type using the specified WorkflowMarkupSerializationManager.

Deserialize(IDesignerSerializationManager, XmlReader) Deserialize(IDesignerSerializationManager, XmlReader) Deserialize(IDesignerSerializationManager, XmlReader) Deserialize(IDesignerSerializationManager, XmlReader)

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

(Inherited from WorkflowMarkupSerializer)
Deserialize(XmlReader) Deserialize(XmlReader) Deserialize(XmlReader) Deserialize(XmlReader)

Deserializes workflow markup into an Object.

(Inherited from WorkflowMarkupSerializer)
DeserializeFromString(WorkflowMarkupSerializationManager, Type, String) DeserializeFromString(WorkflowMarkupSerializationManager, Type, String) DeserializeFromString(WorkflowMarkupSerializationManager, Type, String) DeserializeFromString(WorkflowMarkupSerializationManager, Type, String)

Deserializes extensible Application Markup Language (XAML) content from the specified string according to the given type of the property to deserialize.

(Inherited from WorkflowMarkupSerializer)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetChildren(WorkflowMarkupSerializationManager, Object) GetChildren(WorkflowMarkupSerializationManager, Object) GetChildren(WorkflowMarkupSerializationManager, Object) GetChildren(WorkflowMarkupSerializationManager, Object)

Retrieves a list of child objects for the specified object

(Inherited from WorkflowMarkupSerializer)
GetEvents(WorkflowMarkupSerializationManager, Object) GetEvents(WorkflowMarkupSerializationManager, Object) GetEvents(WorkflowMarkupSerializationManager, Object) GetEvents(WorkflowMarkupSerializationManager, Object)

Retrieves information about all events associated with the specified Object.

(Inherited from WorkflowMarkupSerializer)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetProperties(WorkflowMarkupSerializationManager, Object) GetProperties(WorkflowMarkupSerializationManager, Object) GetProperties(WorkflowMarkupSerializationManager, Object) GetProperties(WorkflowMarkupSerializationManager, Object)

Retrieves information about all properties associated with the specified object.

(Inherited from WorkflowMarkupSerializer)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnAfterDeserialize(WorkflowMarkupSerializationManager, Object) OnAfterDeserialize(WorkflowMarkupSerializationManager, Object) OnAfterDeserialize(WorkflowMarkupSerializationManager, Object) OnAfterDeserialize(WorkflowMarkupSerializationManager, Object)

Overridden. Notifies the WorkflowMarkupSerializer that an object has just been deserialized.

(Inherited from WorkflowMarkupSerializer)
OnAfterSerialize(WorkflowMarkupSerializationManager, Object) OnAfterSerialize(WorkflowMarkupSerializationManager, Object) OnAfterSerialize(WorkflowMarkupSerializationManager, Object) OnAfterSerialize(WorkflowMarkupSerializationManager, Object)

Notifies the ActivityMarkupSerializer that an object has just been serialized.

OnBeforeDeserialize(WorkflowMarkupSerializationManager, Object) OnBeforeDeserialize(WorkflowMarkupSerializationManager, Object) OnBeforeDeserialize(WorkflowMarkupSerializationManager, Object) OnBeforeDeserialize(WorkflowMarkupSerializationManager, Object)

Overridden. Notifies the WorkflowMarkupSerializer that an object is about to be deserialized.

(Inherited from WorkflowMarkupSerializer)
OnBeforeSerialize(WorkflowMarkupSerializationManager, Object) OnBeforeSerialize(WorkflowMarkupSerializationManager, Object) OnBeforeSerialize(WorkflowMarkupSerializationManager, Object) OnBeforeSerialize(WorkflowMarkupSerializationManager, Object)

Notifies the ActivityMarkupSerializer that an object is about to be serialized.

Serialize(IDesignerSerializationManager, XmlWriter, Object) Serialize(IDesignerSerializationManager, XmlWriter, Object) Serialize(IDesignerSerializationManager, XmlWriter, Object) Serialize(IDesignerSerializationManager, XmlWriter, Object)

Serializes the specified Object into a workflow markup file or stream using the specified serialization manager.

(Inherited from WorkflowMarkupSerializer)
Serialize(XmlWriter, Object) Serialize(XmlWriter, Object) Serialize(XmlWriter, Object) Serialize(XmlWriter, Object)

Serializes the specified Object into a workflow markup file or stream.

(Inherited from WorkflowMarkupSerializer)
SerializeToString(WorkflowMarkupSerializationManager, Object) SerializeToString(WorkflowMarkupSerializationManager, Object) SerializeToString(WorkflowMarkupSerializationManager, Object) SerializeToString(WorkflowMarkupSerializationManager, Object)

Serializes the specified Object to a string.

(Inherited from WorkflowMarkupSerializer)
ShouldSerializeValue(WorkflowMarkupSerializationManager, Object) ShouldSerializeValue(WorkflowMarkupSerializationManager, Object) ShouldSerializeValue(WorkflowMarkupSerializationManager, Object) ShouldSerializeValue(WorkflowMarkupSerializationManager, Object)

Returns a value that indicates whether the WorkflowMarkupSerializer should serialize the specified Object.

(Inherited from WorkflowMarkupSerializer)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to