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 저장 작업에 트랜잭션이 필요하면 입니다. 이 매개 변수를 PersistenceIOParticipant 설정하여 개체를 true만든 경우 BeginOnSave가 호출될 때 Transaction.Current가 설정되도록 보장됩니다. 트랜잭션은 지속성 공급자, 모든 PersistenceIOParticipant 확장 및 잠재적으로 다른 트랜잭션 참가자 간에 공유됩니다.

isLoadTransactionRequired
Boolean

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

적용 대상