Redigera

Dela via


ActivityMarkupSerializer Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

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

public ref class ActivityMarkupSerializer : System::Workflow::ComponentModel::Serialization::WorkflowMarkupSerializer
public 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
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityMarkupSerializer = class
    inherit WorkflowMarkupSerializer
Public Class ActivityMarkupSerializer
Inherits WorkflowMarkupSerializer
Inheritance
ActivityMarkupSerializer
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()

Initializes a new instance of the ActivityMarkupSerializer class.

Fields

EndColumnProperty

The index of the last character in the activity definition.

EndLineProperty

The index of the last line in the activity definition.

StartColumnProperty

The index of the first character in the activity definition.

StartLineProperty

The index of the first line in the activity definition.

Methods

AddChild(WorkflowMarkupSerializationManager, Object, Object)

Adds a child object to the specified object.

(Inherited from WorkflowMarkupSerializer)
CanSerializeToString(WorkflowMarkupSerializationManager, Object)

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

(Inherited from WorkflowMarkupSerializer)
ClearChildren(WorkflowMarkupSerializationManager, Object)

Removes all child objects from the specified object.

(Inherited from WorkflowMarkupSerializer)
CreateInstance(WorkflowMarkupSerializationManager, Type)

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

Deserialize(IDesignerSerializationManager, XmlReader)

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

(Inherited from WorkflowMarkupSerializer)
Deserialize(XmlReader)

Deserializes workflow markup into an Object.

(Inherited from WorkflowMarkupSerializer)
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)

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

(Inherited from Object)
GetChildren(WorkflowMarkupSerializationManager, Object)

Retrieves a list of child objects for the specified object.

(Inherited from WorkflowMarkupSerializer)
GetEvents(WorkflowMarkupSerializationManager, Object)

Retrieves information about all events associated with the specified Object.

(Inherited from WorkflowMarkupSerializer)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetProperties(WorkflowMarkupSerializationManager, Object)

Retrieves information about all properties associated with the specified object.

(Inherited from WorkflowMarkupSerializer)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnAfterDeserialize(WorkflowMarkupSerializationManager, Object)

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

(Inherited from WorkflowMarkupSerializer)
OnAfterSerialize(WorkflowMarkupSerializationManager, Object)

Notifies the ActivityMarkupSerializer that an object has just been serialized.

OnBeforeDeserialize(WorkflowMarkupSerializationManager, Object)

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

(Inherited from WorkflowMarkupSerializer)
OnBeforeSerialize(WorkflowMarkupSerializationManager, Object)

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

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)

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

(Inherited from WorkflowMarkupSerializer)
SerializeToString(WorkflowMarkupSerializationManager, Object)

Serializes the specified Object to a string.

(Inherited from WorkflowMarkupSerializer)
ShouldSerializeValue(WorkflowMarkupSerializationManager, Object)

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

(Inherited from WorkflowMarkupSerializer)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to