แก้ไข

แชร์ผ่าน


PersistenceProviderBehavior Constructors

Definition

Initializes a new instance of the PersistenceProviderBehavior class.

Overloads

PersistenceProviderBehavior(PersistenceProviderFactory)

Initializes a new instance of the PersistenceProviderBehavior class.

PersistenceProviderBehavior(PersistenceProviderFactory, TimeSpan)

Initializes a new instance of the PersistenceProviderBehavior class.

PersistenceProviderBehavior(PersistenceProviderFactory)

Initializes a new instance of the PersistenceProviderBehavior class.

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)

Parameters

providerFactory
PersistenceProviderFactory

The PersistenceProviderFactory associated with the behavior object.

Applies to

PersistenceProviderBehavior(PersistenceProviderFactory, TimeSpan)

Initializes a new instance of the PersistenceProviderBehavior class.

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)

Parameters

providerFactory
PersistenceProviderFactory

The PersistenceProviderFactory associated with the behavior object.

persistenceOperationTimeout
TimeSpan

The time-out after which persistence operations performed by persistence providers configured with this object abort.

Applies to