共用方式為


PersistenceProviderBehavior 建構函式

定義

初始化 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

逾期時間,經過此時間後,這個物件設定的持續性提供者所執行的持續性作業會中止。

適用於