WorkflowRuntimeServiceElement 类

定义

注意

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

表示要添加到工作流运行时引擎的服务的配置元素。

public ref class WorkflowRuntimeServiceElement : System::Configuration::ConfigurationElement
public class WorkflowRuntimeServiceElement : System.Configuration.ConfigurationElement
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class WorkflowRuntimeServiceElement : System.Configuration.ConfigurationElement
type WorkflowRuntimeServiceElement = class
    inherit ConfigurationElement
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowRuntimeServiceElement = class
    inherit ConfigurationElement
Public Class WorkflowRuntimeServiceElement
Inherits ConfigurationElement
继承
WorkflowRuntimeServiceElement
属性

注解

注释

此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的 Deprecated Types。

指定 WorkflowRuntimeServiceElement 应由工作流运行时引擎初始化和激活的主机服务。 它对应于配置文件中 <Services> 元素中指定的主机服务。 由于 WorkflowRuntimeServiceElement 中指定的服务将由工作流运行时引擎初始化,因此它必须至少有一个构造函数匹配以下四个签名之一(工作流运行时引擎将尝试按照所示的顺序匹配这些签名):

Service(WorkflowRuntime 运行时、NameValueCollection 参数)

Service(WorkflowRuntime 运行时)

Service(NameValueCollection 参数)

服务()

构造函数

名称 说明
WorkflowRuntimeServiceElement()
已过时.

初始化 WorkflowRuntimeServiceElement 类的新实例。

属性

名称 说明
CurrentConfiguration
已过时.

获取对顶级 Configuration 实例的引用,该实例表示当前 ConfigurationElement 实例所属的配置层次结构。

(继承自 ConfigurationElement)
ElementInformation
已过时.

获取一个 ElementInformation 对象,该对象包含 ConfigurationElement 对象的不可自定义信息和功能。

(继承自 ConfigurationElement)
ElementProperty
已过时.

获取表示 ConfigurationElementProperty 对象本身的 ConfigurationElement 对象。

(继承自 ConfigurationElement)
EvaluationContext
已过时.

获取 ContextInformation 对象的 ConfigurationElement 对象。

(继承自 ConfigurationElement)
HasContext
已过时.

获取一个值,该值指示 CurrentConfiguration 属性是否 null

(继承自 ConfigurationElement)
Item[ConfigurationProperty]
已过时.

获取或设置此配置元素的属性或属性。

(继承自 ConfigurationElement)
Item[String]
已过时.

获取或设置此配置元素的属性、属性或子元素。

(继承自 ConfigurationElement)
LockAllAttributesExcept
已过时.

获取锁定属性的集合。

(继承自 ConfigurationElement)
LockAllElementsExcept
已过时.

获取锁定元素的集合。

(继承自 ConfigurationElement)
LockAttributes
已过时.

获取锁定属性的集合。

(继承自 ConfigurationElement)
LockElements
已过时.

获取锁定元素的集合。

(继承自 ConfigurationElement)
LockItem
已过时.

获取或设置一个值,该值指示元素是否已锁定。

(继承自 ConfigurationElement)
Parameters
已过时.

获取此服务的参数。

Properties
已过时.

获取属性的集合。

(继承自 ConfigurationElement)
Type
已过时.

获取或设置服务的程序集限定类型名称。

方法

名称 说明
DeserializeElement(XmlReader, Boolean)
已过时.

从配置文件中读取 XML。

(继承自 ConfigurationElement)
Equals(Object)
已过时.

将当前 ConfigurationElement 实例与指定对象进行比较。

(继承自 ConfigurationElement)
GetHashCode()
已过时.

获取表示当前 ConfigurationElement 实例的唯一值。

(继承自 ConfigurationElement)
GetTransformedAssemblyString(String)
已过时.

返回指定程序集名称的转换版本。

(继承自 ConfigurationElement)
GetTransformedTypeString(String)
已过时.

返回指定类型名称的转换版本。

(继承自 ConfigurationElement)
GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
Init()
已过时.

ConfigurationElement 对象设置为其初始状态。

(继承自 ConfigurationElement)
InitializeDefault()
已过时.

用于初始化 ConfigurationElement 对象的默认值集。

(继承自 ConfigurationElement)
IsModified()
已过时.

指示在派生类中实现此配置元素自上次保存或加载以来是否已修改此配置元素。

(继承自 ConfigurationElement)
IsReadOnly()
已过时.

获取一个值,该值指示对象 ConfigurationElement 是否为只读。

(继承自 ConfigurationElement)
ListErrors(IList)
已过时.

将此 ConfigurationElement 对象和所有子元素中的无效属性错误添加到传递的列表。

(继承自 ConfigurationElement)
MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
OnDeserializeUnrecognizedAttribute(String, String)
已过时.

反序列化 WorkflowRuntimeServiceElement时遇到未知属性时调用 。

OnDeserializeUnrecognizedElement(String, XmlReader)
已过时.

获取一个值,该值指示在反序列化期间是否遇到未知元素。

(继承自 ConfigurationElement)
OnRequiredPropertyNotFound(String)
已过时.

在找不到所需属性时引发异常。

(继承自 ConfigurationElement)
PostDeserialize()
已过时.

反序列化后调用。

(继承自 ConfigurationElement)
PreSerialize(XmlWriter)
已过时.

在序列化之前调用。

(继承自 ConfigurationElement)
Reset(ConfigurationElement)
已过时.

重置对象的内部状态 ConfigurationElement ,包括锁和属性集合。

(继承自 ConfigurationElement)
ResetModified()
已过时.

将方法的值 IsModified() 重置为 false 在派生类中实现时的值。

(继承自 ConfigurationElement)
SerializeElement(XmlWriter, Boolean)
已过时.

在派生类中实现时,将此配置元素的内容写入配置文件。

(继承自 ConfigurationElement)
SerializeToXmlElement(XmlWriter, String)
已过时.

在派生类中实现时,将此配置元素的外部标记写入配置文件。

(继承自 ConfigurationElement)
SetPropertyValue(ConfigurationProperty, Object, Boolean)
已过时.

将属性设置为指定的值。

(继承自 ConfigurationElement)
SetReadOnly()
已过时.

IsReadOnly()设置对象和所有子元素的属性ConfigurationElement

(继承自 ConfigurationElement)
ToString()
已过时.

返回一个表示当前对象的字符串。

(继承自 Object)
Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode)
已过时.

ConfigurationElement修改对象以删除不应保存的所有值。

(继承自 ConfigurationElement)

适用于