PersistenceProviderElement 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
The WF3 types are deprecated. Instead, please use the new WF4 types from System.Activities.*
表示一个持久性服务配置元素,该元素指定要使用的永久性提供程序实现的类型以及用于持久性操作的超时值。 出现在此元素中的其他属性将传入到指定永久性提供程序的构造函数。
public ref class PersistenceProviderElement : System::ServiceModel::Configuration::BehaviorExtensionElement
public class PersistenceProviderElement : System.ServiceModel.Configuration.BehaviorExtensionElement
[System.Obsolete("The WF3 types are deprecated. Instead, please use the new WF4 types from System.Activities.*")]
public class PersistenceProviderElement : System.ServiceModel.Configuration.BehaviorExtensionElement
type PersistenceProviderElement = class
inherit BehaviorExtensionElement
[<System.Obsolete("The WF3 types are deprecated. Instead, please use the new WF4 types from System.Activities.*")>]
type PersistenceProviderElement = class
inherit BehaviorExtensionElement
Public Class PersistenceProviderElement
Inherits BehaviorExtensionElement
继承
PersistenceProviderElement
继承
PersistenceProviderElement
属性
永久性提供程序配置元素通常在应用程序配置文件的 system.serviceModel
节点下 serviceBehaviors
节的 behaviors
子节中定义。
构造函数
属性
方法
CopyFrom(ServiceModelExtensionElement)
已过时.
将指定配置元素的内容复制到此配置元素。
(继承自 ServiceModelExtensionElement )
CreateBehavior()
已过时.
根据此配置元素的设置创建自定义行为。
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()
已过时.
指示此配置元素自上次保存或加载后是否已被修改。
IsReadOnly()
已过时.
获取一个值,该值指示 ConfigurationElement 对象是否为只读。
(继承自 ConfigurationElement )
ListErrors(IList)
已过时.
将此 ConfigurationElement 对象以及所有子元素中无效属性的错误添加到传递的列表中。
(继承自 ConfigurationElement )
MemberwiseClone()
已过时.
创建当前 Object 的浅表副本。
(继承自 Object )
OnDeserializeUnrecognizedAttribute(String, String)
已过时.
指示反序列化过程中是否遇到未知特性。
OnDeserializeUnrecognizedElement(String, XmlReader)
已过时.
获取一个值,该值指示反序列化过程中是否遇到未知元素。
(继承自 ConfigurationElement )
OnRequiredPropertyNotFound(String)
已过时.
找不到所需属性时引发异常。
(继承自 ConfigurationElement )
PostDeserialize()
已过时.
反序列化后调用。
PreSerialize(XmlWriter)
已过时.
在序列化之前调用。
(继承自 ConfigurationElement )
Reset(ConfigurationElement)
已过时.
重置此配置元素对象的内部状态,包括锁定和属性集合。
(继承自 ServiceModelExtensionElement )
ResetModified()
已过时.
在派生类中实现时,将 IsModified() 方法的值重置为 false
。
(继承自 ConfigurationElement )
SerializeElement(XmlWriter, Boolean)
已过时.
将此配置元素的内容写入配置文件。
SerializeToXmlElement(XmlWriter, String)
已过时.
当在派生类中实现后,将此配置元素的外部标记写入配置文件。
(继承自 ConfigurationElement )
SetPropertyValue(ConfigurationProperty, Object, Boolean)
已过时.
将属性设置为指定值。
(继承自 ConfigurationElement )
SetPropertyValueIfNotDefaultValue<T>(String, T)
已过时.
如果值不是默认值,为配置元素设置属性值。
(继承自 ServiceModelConfigurationElement )
SetReadOnly()
已过时.
设置 ConfigurationElement 对象及所有子元素的 IsReadOnly() 属性。
(继承自 ConfigurationElement )
ToString()
已过时.
返回表示当前对象的字符串。
(继承自 Object )
Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode)
已过时.
修改此配置元素对象以移除所有不应该保存的值。
适用于