PersistenceIOParticipant(Boolean, Boolean) Constructor
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 an instance of the PersistenceIOParticipant class.
protected:
PersistenceIOParticipant(bool isSaveTransactionRequired, bool isLoadTransactionRequired);
protected PersistenceIOParticipant (bool isSaveTransactionRequired, bool isLoadTransactionRequired);
new System.Activities.Persistence.PersistenceIOParticipant : bool * bool -> System.Activities.Persistence.PersistenceIOParticipant
Protected Sub New (isSaveTransactionRequired As Boolean, isLoadTransactionRequired As Boolean)
Parameters
- isSaveTransactionRequired
- Boolean
true
if a transaction is required for the Save operation. If the PersistenceIOParticipant object is created with this parameter set to true
, Transaction.Current is guaranteed to be set when BeginOnSave is invoked. The transaction is shared between the persistence provider, all PersistenceIOParticipant extensions, and potentially other transaction participants.
- isLoadTransactionRequired
- Boolean
true
if a transaction is required for the Load operation. If the PersistenceIOParticipant object is created with this parameter set to true
, Transaction.Current is guaranteed to be set when BeginOnLoad is invoked. The transaction is shared between the persistence provider, all PersistenceIOParticipant extensions, and potentially other transaction participants.