PersistenceIOParticipant(Boolean, Boolean) 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
클래스의 인스턴스를 초기화합니다 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 확장 및 잠재적으로 다른 트랜잭션 참가자 간에 공유됩니다.