PersistenceIOParticipant(Boolean, Boolean) 생성자

정의

PersistenceIOParticipant 클래스의 인스턴스를 초기화합니다.

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)

매개 변수

isSaveTransactionRequired
Boolean

저장 작업에 트랜잭션이 필요하면 true입니다. 이 매개 변수를 true로 설정하여 PersistenceIOParticipant 개체를 만든 경우 BeginOnSave를 호출하면 Transaction.Current가 설정됩니다. 트랜잭션은 지속성 공급자, 모든 PersistenceIOParticipant 확장명 및 기타 잠재적 트랜잭션 참가자 간에 공유됩니다.

isLoadTransactionRequired
Boolean

로드 작업에 트랜잭션이 필요하면 true입니다. 이 매개 변수를 true로 설정하여 PersistenceIOParticipant 개체를 만든 경우 BeginOnLoad를 호출하면 Transaction.Current가 설정됩니다. 트랜잭션은 지속성 공급자, 모든 PersistenceIOParticipant 확장명 및 기타 잠재적 트랜잭션 참가자 간에 공유됩니다.

적용 대상