WorkflowRuntimeSection 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
表示配置文件中的一节,它定义工作流运行时引擎的设置。
public ref class WorkflowRuntimeSection : System::Configuration::ConfigurationSection
public class WorkflowRuntimeSection : System.Configuration.ConfigurationSection
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public class WorkflowRuntimeSection : System.Configuration.ConfigurationSection
type WorkflowRuntimeSection = class
inherit ConfigurationSection
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type WorkflowRuntimeSection = class
inherit ConfigurationSection
Public Class WorkflowRuntimeSection
Inherits ConfigurationSection
继承
属性
WorkflowRuntimeSection 包含在配置文件中由 <section>
类型 WorkflowRuntimeSection 为 的 指定的设置。 在 WorkflowRuntimeSection 中指定的配置用于初始化工作流运行时引擎。 应用程序可以调用 WorkflowRuntime.WorkflowRuntime(String) 构造函数,从配置文件的适当命名的节中初始化工作流运行时引擎。
如果应用程序不使用配置文件,但您仍希望从 WorkflowRuntimeSection 初始化工作流运行时引擎,则可以在应用程序中配置 WorkflowRuntimeSection ,并调用 WorkflowRuntime.WorkflowRuntime(WorkflowRuntimeSection) 构造函数。 例如,应用程序可能在数据库中存储配置参数,或者可能在不使用配置文件的受信任环境中操作。
构造函数
属性
方法
DeserializeElement(XmlReader, Boolean)
已过时.
从配置文件读取 XML。
(继承自 ConfigurationElement )
DeserializeSection(XmlReader)
已过时.
从配置文件读取 XML。
(继承自 ConfigurationSection )
Equals(Object)
已过时.
将当前的 ConfigurationElement 实例与指定的对象进行比较。
(继承自 ConfigurationElement )
GetHashCode()
已过时.
获取表示当前 ConfigurationElement 实例的唯一值。
(继承自 ConfigurationElement )
GetRuntimeObject()
已过时.
在派生的类中重写时返回自定义对象。
(继承自 ConfigurationSection )
GetTransformedAssemblyString(String)
已过时.
返回指定程序集名称的转换版本。
(继承自 ConfigurationElement )
GetTransformedTypeString(String)
已过时.
返回指定类型名称的转换版本。
(继承自 ConfigurationElement )
GetType()
已过时.
获取当前实例的 Type 。
(继承自 Object )
Init()
已过时.
将 ConfigurationElement 对象设置为其初始状态。
(继承自 ConfigurationElement )
InitializeDefault()
已过时.
用于初始化 ConfigurationElement 对象的默认值集。
(继承自 ConfigurationElement )
IsModified()
已过时.
指示自上次在派生类中实现此配置元素时保存或加载以来是否对其进行过修改。
(继承自 ConfigurationSection )
IsReadOnly()
已过时.
获取一个值,该值指示 ConfigurationElement 对象是否为只读。
(继承自 ConfigurationElement )
ListErrors(IList)
已过时.
将此 ConfigurationElement 对象以及所有子元素中无效属性的错误添加到传递的列表中。
(继承自 ConfigurationElement )
MemberwiseClone()
已过时.
创建当前 Object 的浅表副本。
(继承自 Object )
OnDeserializeUnrecognizedAttribute(String, String)
已过时.
获取一个值,该值指示反序列化过程中是否遇到未知特性。
(继承自 ConfigurationElement )
OnDeserializeUnrecognizedElement(String, XmlReader)
已过时.
获取一个值,该值指示反序列化过程中是否遇到未知元素。
(继承自 ConfigurationElement )
OnRequiredPropertyNotFound(String)
已过时.
找不到所需属性时引发异常。
(继承自 ConfigurationElement )
PostDeserialize()
已过时.
反序列化后调用。
(继承自 ConfigurationElement )
PreSerialize(XmlWriter)
已过时.
在序列化之前调用。
(继承自 ConfigurationElement )
Reset(ConfigurationElement)
已过时.
重置 ConfigurationElement 对象的内部状态,包括锁和属性集合。
(继承自 ConfigurationElement )
ResetModified()
已过时.
在派生类中实现时,将 IsModified() 方法的值重置为 false
。
(继承自 ConfigurationSection )
SerializeElement(XmlWriter, Boolean)
已过时.
当在派生类中实现后,将此配置元素的内容写入配置文件。
(继承自 ConfigurationElement )
SerializeSection(ConfigurationElement, String, ConfigurationSaveMode)
已过时.
创建一个包含 ConfigurationSection 对象的分离视图的 XML 字符串,作为单独的节写入到文件中。
(继承自 ConfigurationSection )
SerializeToXmlElement(XmlWriter, String)
已过时.
当在派生类中实现后,将此配置元素的外部标记写入配置文件。
(继承自 ConfigurationElement )
SetPropertyValue(ConfigurationProperty, Object, Boolean)
已过时.
将属性设置为指定值。
(继承自 ConfigurationElement )
SetReadOnly()
已过时.
设置 ConfigurationElement 对象及所有子元素的 IsReadOnly() 属性。
(继承自 ConfigurationElement )
ShouldSerializeElementInTargetVersion(ConfigurationElement, String, FrameworkName)
已过时.
指示在为.NET Framework的指定目标版本序列化配置对象层次结构时,是否应序列化指定的元素。
(继承自 ConfigurationSection )
ShouldSerializePropertyInTargetVersion(ConfigurationProperty, String, FrameworkName, ConfigurationElement)
已过时.
指示在为.NET Framework的指定目标版本序列化配置对象层次结构时,是否应序列化指定的属性。
(继承自 ConfigurationSection )
ShouldSerializeSectionInTargetVersion(FrameworkName)
已过时.
指示在为.NET Framework的指定目标版本序列化配置对象层次结构时,是否应序列化当前ConfigurationSection 实例。
(继承自 ConfigurationSection )
ToString()
已过时.
返回表示当前对象的字符串。
(继承自 Object )
Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode)
已过时.
修改 ConfigurationElement 对象以移除所有不应该保存的值。
(继承自 ConfigurationElement )
适用于