ActivityCodeDomSerializationManager 类

定义

警告

此 API 现已过时。

管理在编译前将活动序列化到设计器生成的源代码段中的操作。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
Public Class ActivityCodeDomSerializationManager
Implements IDesignerSerializationManager, IServiceProvider
继承
ActivityCodeDomSerializationManager
属性
实现

注解

备注

本材料讨论的类型和命名空间已废弃不用。This material discusses types and namespaces that are obsolete. 有关详细信息,请参阅 Windows Workflow Foundation 4.5 中弃用的类型For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

构造函数

ActivityCodeDomSerializationManager(IDesignerSerializationManager)

初始化 ActivityCodeDomSerializationManager 类的新实例。Initializes a new instance of the ActivityCodeDomSerializationManager class.

属性

Context

获取与 ContextStack 关联的 ActivityCodeDomSerializationManagerGets the ContextStack associated with ActivityCodeDomSerializationManager.

Properties

获取一个 PropertyDescriptorCollection,其中包含 PropertyDescriptor 类型的只读集合。Gets a PropertyDescriptorCollection that contains a read-only collection of type PropertyDescriptor.

SerializationManager

获取与 IDesignerSerializationManager 关联的 ActivityCodeDomSerializationManagerGets the IDesignerSerializationManager associated with the ActivityCodeDomSerializationManager.

方法

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.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetInstance(String)

获取指定名称的 Object;如果该 Object 不存在,则为 Null。Gets an Object of the specified name, or null if that Object does not exist.

GetName(Object)

获取指定 Object 的名称;如果 Object 没有名称,则为 Null。Gets the name of the specified Object, or null if the Object has no name.

GetSerializer(Type, Type)

获取指定的 Object 类型的所请求类型的序列化程序。Gets a serializer of the requested type for the specified Object type.

GetService(Type)

获取一个 Object,它提供指定的 Type 的服务。Gets an Object that provides a service of the specified Type.

GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
GetType(String)

获取指定名称的 TypeGets a Type of the specified name.

MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
RemoveSerializationProvider(IDesignerSerializationProvider)

从序列化管理器移除自定义的序列化提供程序。Removes a custom serialization provider from the serialization manager.

ReportError(Object)

报告序列化中的错误。Reports an error in serialization.

SetName(Object, String)

设置指定的现有 Object 的名称。Sets the name of the specified existing Object.

ToString()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

事件

ResolveName

GetName(Object) 无法在序列化管理器名称表中找到指定名称时发生。Occurs when GetName(Object) cannot locate the specified name in the serialization manager name table.

SerializationComplete

在序列化完成时发生。Occurs when serialization is complete.

适用于