PersistenceProviderBehavior 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 PersistenceProviderBehavior 类的新实例。
重载
PersistenceProviderBehavior(PersistenceProviderFactory) |
初始化 PersistenceProviderBehavior 类的新实例。 |
PersistenceProviderBehavior(PersistenceProviderFactory, TimeSpan) |
初始化 PersistenceProviderBehavior 类的新实例。 |
PersistenceProviderBehavior(PersistenceProviderFactory)
初始化 PersistenceProviderBehavior 类的新实例。
public:
PersistenceProviderBehavior(System::ServiceModel::Persistence::PersistenceProviderFactory ^ providerFactory);
public PersistenceProviderBehavior (System.ServiceModel.Persistence.PersistenceProviderFactory providerFactory);
new System.ServiceModel.Description.PersistenceProviderBehavior : System.ServiceModel.Persistence.PersistenceProviderFactory -> System.ServiceModel.Description.PersistenceProviderBehavior
Public Sub New (providerFactory As PersistenceProviderFactory)
参数
- providerFactory
- PersistenceProviderFactory
与行为对象关联的 PersistenceProviderFactory。
适用于
PersistenceProviderBehavior(PersistenceProviderFactory, TimeSpan)
初始化 PersistenceProviderBehavior 类的新实例。
public:
PersistenceProviderBehavior(System::ServiceModel::Persistence::PersistenceProviderFactory ^ providerFactory, TimeSpan persistenceOperationTimeout);
public PersistenceProviderBehavior (System.ServiceModel.Persistence.PersistenceProviderFactory providerFactory, TimeSpan persistenceOperationTimeout);
new System.ServiceModel.Description.PersistenceProviderBehavior : System.ServiceModel.Persistence.PersistenceProviderFactory * TimeSpan -> System.ServiceModel.Description.PersistenceProviderBehavior
Public Sub New (providerFactory As PersistenceProviderFactory, persistenceOperationTimeout As TimeSpan)
参数
- providerFactory
- PersistenceProviderFactory
与行为对象关联的 PersistenceProviderFactory。
- persistenceOperationTimeout
- TimeSpan
超时时间,在此时间后,将中止使用此对象配置的永久性提供程序执行的永久性操作。