PersistenceProviderFactory 类  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The WF3 types are deprecated. Instead, please use the new WF4 types from System.Activities.*
所有持久性服务永久性提供程序必须从中继承的抽象类。
public ref class PersistenceProviderFactory abstract : System::ServiceModel::Channels::CommunicationObjectpublic abstract class PersistenceProviderFactory : System.ServiceModel.Channels.CommunicationObject[System.Obsolete("The WF3 types are deprecated.  Instead, please use the new WF4 types from System.Activities.*")]
public abstract class PersistenceProviderFactory : System.ServiceModel.Channels.CommunicationObjecttype PersistenceProviderFactory = class
    inherit CommunicationObject[<System.Obsolete("The WF3 types are deprecated.  Instead, please use the new WF4 types from System.Activities.*")>]
type PersistenceProviderFactory = class
    inherit CommunicationObjectPublic MustInherit Class PersistenceProviderFactory
Inherits CommunicationObject- 继承
- 派生
- 属性
构造函数
| PersistenceProviderFactory() | 在派生类中实现时,初始化 PersistenceProvider 类的新实例。 | 
属性
| DefaultCloseTimeout | 在派生类中重写时,获取为完成关闭操作提供的默认时间间隔。(继承自 CommunicationObject) | 
| DefaultOpenTimeout | 在派生类中重写时,获取为完成打开操作提供的默认时间间隔。(继承自 CommunicationObject) | 
| IsDisposed | 获取一个值,该值指示通信对象是否已被释放。(继承自 CommunicationObject) | 
| State | 获取指示通信对象当前状态的值。(继承自 CommunicationObject) | 
| ThisLock | 获取在状态转换过程中保护类实例的相互排斥锁。(继承自 CommunicationObject) | 
方法
事件
| Closed | 当通信对象转换到已关闭状态时发生。(继承自 CommunicationObject) | 
| Closing | 当通信对象转换到正在关闭状态时发生。(继承自 CommunicationObject) | 
| Faulted | 在通信对象转换到出错状态时发生。(继承自 CommunicationObject) | 
| Opened | 当通信对象转换到已打开状态时发生。(继承自 CommunicationObject) | 
| Opening | 当通信对象转换到正在打开状态时发生。(继承自 CommunicationObject) |