PersistenceIOParticipant(Boolean, Boolean) PersistenceIOParticipant(Boolean, Boolean) PersistenceIOParticipant(Boolean, Boolean) PersistenceIOParticipant(Boolean, Boolean) Constructor

Definition

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 Boolean Boolean 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 Boolean Boolean 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.

Applies to