Edit

Share via


ActivityTypeCodeDomSerializer Class

Definition

Caution

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

Serializes an Activity to a new type.

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

Remarks

Note

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

ActivityTypeCodeDomSerializer performs the same tasks as ActivityCodeDomSerializer, but if you use this class to serialize an Activity it defines a new type.

Constructors

ActivityTypeCodeDomSerializer()

Initializes a new instance of the ActivityTypeCodeDomSerializer class.

Methods

Deserialize(IDesignerSerializationManager, CodeTypeDeclaration)

Deserializes the specified type declaration.

DeserializeExpression(IDesignerSerializationManager, String, CodeExpression)

Deserializes the given expression into an in-memory object.

(Inherited from CodeDomSerializerBase)
DeserializeInstance(IDesignerSerializationManager, Type, Object[], String, Boolean)

Returns an instance of the given type.

(Inherited from CodeDomSerializerBase)
DeserializePropertiesFromResources(IDesignerSerializationManager, Object, Attribute[])

Deserializes properties on the given object from the invariant culture's resource bundle.

(Inherited from CodeDomSerializerBase)
DeserializeStatement(IDesignerSerializationManager, CodeStatement)

Deserializes a statement by interpreting and executing a CodeDOM statement.

(Inherited from CodeDomSerializerBase)
Equals(Object)

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

(Inherited from Object)
GetExpression(IDesignerSerializationManager, Object)

Returns an expression for the given object.

(Inherited from CodeDomSerializerBase)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetInitializeMethod(IDesignerSerializationManager, CodeTypeDeclaration, Object)

Returns the method where the statements used to serialize a member are stored.

GetInitializeMethods(IDesignerSerializationManager, CodeTypeDeclaration)

Returns an array of methods to be interpreted during deserialization.

GetSerializer(IDesignerSerializationManager, Object)

Locates a serializer for the given object value.

(Inherited from CodeDomSerializerBase)
GetSerializer(IDesignerSerializationManager, Type)

Locates a serializer for the given type.

(Inherited from CodeDomSerializerBase)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetUniqueName(IDesignerSerializationManager, Object)

Returns a unique name for the given object.

(Inherited from CodeDomSerializerBase)
IsSerialized(IDesignerSerializationManager, Object)

Returns a value indicating whether the given object has been serialized.

(Inherited from CodeDomSerializerBase)
IsSerialized(IDesignerSerializationManager, Object, Boolean)

Returns a value indicating whether the given object has been serialized, optionally considering preset expressions.

(Inherited from CodeDomSerializerBase)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Serialize(IDesignerSerializationManager, Object, ICollection)

Serializes the specified object by creating a new type declaration that defines that object.

SerializeCreationExpression(IDesignerSerializationManager, Object, Boolean)

Returns an expression representing the creation of the given object.

(Inherited from CodeDomSerializerBase)
SerializeEvent(IDesignerSerializationManager, CodeStatementCollection, Object, EventDescriptor)

Serializes the given event into the given statement collection.

(Inherited from CodeDomSerializerBase)
SerializeEvents(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[])

Serializes the specified events into the given statement collection.

(Inherited from CodeDomSerializerBase)
SerializeProperties(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[])

Serializes the properties on the given object into the given statement collection.

(Inherited from CodeDomSerializerBase)
SerializePropertiesToResources(IDesignerSerializationManager, CodeStatementCollection, Object, Attribute[])

Serializes the properties on the given object into the invariant culture's resource bundle.

(Inherited from CodeDomSerializerBase)
SerializeProperty(IDesignerSerializationManager, CodeStatementCollection, Object, PropertyDescriptor)

Serializes a property on the given object.

(Inherited from CodeDomSerializerBase)
SerializeResource(IDesignerSerializationManager, String, Object)

Serializes the given object into a resource bundle using the given resource name.

(Inherited from CodeDomSerializerBase)
SerializeResourceInvariant(IDesignerSerializationManager, String, Object)

Serializes the given object into a resource bundle using the given resource name.

(Inherited from CodeDomSerializerBase)
SerializeToExpression(IDesignerSerializationManager, Object)

Serializes the given object into an expression.

(Inherited from CodeDomSerializerBase)
SerializeToResourceExpression(IDesignerSerializationManager, Object)

Serializes the given object into an expression.

(Inherited from CodeDomSerializerBase)
SerializeToResourceExpression(IDesignerSerializationManager, Object, Boolean)

Serializes the given object into an expression appropriate for the invariant culture.

(Inherited from CodeDomSerializerBase)
SetExpression(IDesignerSerializationManager, Object, CodeExpression)

Associates an object with an expression.

(Inherited from CodeDomSerializerBase)
SetExpression(IDesignerSerializationManager, Object, CodeExpression, Boolean)

Associates an object with an expression, optionally specifying a preset expression.

(Inherited from CodeDomSerializerBase)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to