ActivityMarkupSerializer Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Note: This API is now obsolete.

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

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


[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class ActivityMarkupSerializer : WorkflowMarkupSerializer

NameDescription
System_CAPS_pubmethodActivityMarkupSerializer()

Initializes a new instance of the ActivityMarkupSerializer class.

NameDescription
System_CAPS_protmethodAddChild(WorkflowMarkupSerializationManager, Object, Object)

Adds a child object to the specified object.(Inherited from WorkflowMarkupSerializer.)

System_CAPS_protmethodCanSerializeToString(WorkflowMarkupSerializationManager, Object)

Returns a Boolean that indicates whether the specified object can be serialized to a string.(Inherited from WorkflowMarkupSerializer.)

System_CAPS_protmethodClearChildren(WorkflowMarkupSerializationManager, Object)

Removes all child objects from the specified object.(Inherited from WorkflowMarkupSerializer.)

System_CAPS_protmethodCreateInstance(WorkflowMarkupSerializationManager, Type)
System_CAPS_pubmethodDeserialize(IDesignerSerializationManager, XmlReader)

Deserializes workflow markup into an Object using the specified serialization manager.(Inherited from WorkflowMarkupSerializer.)

System_CAPS_pubmethodDeserialize(XmlReader)

Deserializes workflow markup into an Object.(Inherited from WorkflowMarkupSerializer.)

System_CAPS_protmethodDeserializeFromString(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.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_protmethodGetChildren(WorkflowMarkupSerializationManager, Object)

Retrieves a list of child objects for the specified object(Inherited from WorkflowMarkupSerializer.)

System_CAPS_protmethodGetEvents(WorkflowMarkupSerializationManager, Object)

Retrieves information about all events associated with the specified Object.(Inherited from WorkflowMarkupSerializer.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_protmethodGetProperties(WorkflowMarkupSerializationManager, Object)

Retrieves information about all properties associated with the specified object.(Inherited from WorkflowMarkupSerializer.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnAfterDeserialize(WorkflowMarkupSerializationManager, Object)

Overridden. Notifies the WorkflowMarkupSerializer that an object has just been deserialized.(Inherited from WorkflowMarkupSerializer.)

System_CAPS_protmethodOnAfterSerialize(WorkflowMarkupSerializationManager, Object)

Notifies the ActivityMarkupSerializer that an object has just been serialized.(Overrides WorkflowMarkupSerializer.OnAfterSerialize(WorkflowMarkupSerializationManager, Object).)

System_CAPS_protmethodOnBeforeDeserialize(WorkflowMarkupSerializationManager, Object)

Overridden. Notifies the WorkflowMarkupSerializer that an object is about to be deserialized.(Inherited from WorkflowMarkupSerializer.)

System_CAPS_protmethodOnBeforeSerialize(WorkflowMarkupSerializationManager, Object)

Notifies the ActivityMarkupSerializer that an object is about to be serialized. (Overrides WorkflowMarkupSerializer.OnBeforeSerialize(WorkflowMarkupSerializationManager, Object).)

System_CAPS_pubmethodSerialize(IDesignerSerializationManager, XmlWriter, Object)

Serializes the specified Object into a workflow markup file or stream using the specified serialization manager.(Inherited from WorkflowMarkupSerializer.)

System_CAPS_pubmethodSerialize(XmlWriter, Object)

Serializes the specified Object into a workflow markup file or stream.(Inherited from WorkflowMarkupSerializer.)

System_CAPS_protmethodSerializeToString(WorkflowMarkupSerializationManager, Object)

Serializes the specified Object to a string.(Inherited from WorkflowMarkupSerializer.)

System_CAPS_protmethodShouldSerializeValue(WorkflowMarkupSerializationManager, Object)

Returns a value that indicates whether the WorkflowMarkupSerializer should serialize the specified Object.(Inherited from WorkflowMarkupSerializer.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticEndColumnProperty

The index of the last character in the activity definition.

System_CAPS_pubfieldSystem_CAPS_staticEndLineProperty

The index of the last line in the activity definition.

System_CAPS_pubfieldSystem_CAPS_staticStartColumnProperty

The index of the first character in the activity definition.

System_CAPS_pubfieldSystem_CAPS_staticStartLineProperty

The index of the first line in the activity definition.

System_CAPS_noteNote

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 in the .NET Framework.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: