Edit

Kongsi melalui


ActivityCodeDomSerializationManager Class

Definition

Caution

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

Manages serialization of activities into designer-generated source code segments before compilation.

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

Remarks

Note

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

Constructors

ActivityCodeDomSerializationManager(IDesignerSerializationManager)

Initializes a new instance of the ActivityCodeDomSerializationManager class.

Properties

Context

Gets the ContextStack associated with ActivityCodeDomSerializationManager.

Properties

Gets a PropertyDescriptorCollection that contains a read-only collection of type PropertyDescriptor.

SerializationManager

Gets the IDesignerSerializationManager associated with the ActivityCodeDomSerializationManager.

Methods

AddSerializationProvider(IDesignerSerializationProvider)

Adds the specified serialization provider to the serialization manager.

CreateInstance(Type, ICollection, String, Boolean)

Creates an instance of the specified type and adds it to a collection of named instances.

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetInstance(String)

Gets an Object of the specified name, or null if that Object does not exist.

GetName(Object)

Gets the name of the specified Object, or null if the Object has no name.

GetSerializer(Type, Type)

Gets a serializer of the requested type for the specified Object type.

GetService(Type)

Gets an Object that provides a service of the specified Type.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetType(String)

Gets a Type of the specified name.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RemoveSerializationProvider(IDesignerSerializationProvider)

Removes a custom serialization provider from the serialization manager.

ReportError(Object)

Reports an error in serialization.

SetName(Object, String)

Sets the name of the specified existing Object.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Events

ResolveName

Occurs when GetName(Object) cannot locate the specified name in the serialization manager name table.

SerializationComplete

Occurs when serialization is complete.

Applies to