PersistenceProviderBehavior Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.