C# 클래스 Raven.Client.Document.RavenClientEnlistment

An implementation of IEnlistmentNotification for the Raven Client API, allowing Raven Client API to participate in Distributed Transactions
상속: IEnlistmentNotification
파일 보기 프로젝트 열기: robashton/ravendb 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DeleteFile void

공개 메소드들

메소드 설명
Commit ( Enlistment enlistment ) : void

Notifies an enlisted object that a transaction is being committed.

InDoubt ( Enlistment enlistment ) : void

Notifies an enlisted object that the status of a transaction is in doubt.

Initialize ( ) : void

Initializes this instance.

Prepare ( PreparingEnlistment preparingEnlistment ) : void

Notifies an enlisted object that a transaction is being prepared for commitment.

RavenClientEnlistment ( DocumentStoreBase documentStore, ITransactionalDocumentSession session, System.Action onTxComplete ) : System

Initializes a new instance of the RavenClientEnlistment class.

Rollback ( Enlistment enlistment ) : void

Notifies an enlisted object that a transaction is being rolled back (aborted).

Rollback ( SinglePhaseEnlistment singlePhaseEnlistment ) : void

Rollbacks the specified single phase enlistment.

비공개 메소드들

메소드 설명
DeleteFile ( ) : void

메소드 상세

Commit() 공개 메소드

Notifies an enlisted object that a transaction is being committed.
public Commit ( Enlistment enlistment ) : void
enlistment System.Transactions.Enlistment An object used to send a response to the transaction manager.
리턴 void

InDoubt() 공개 메소드

Notifies an enlisted object that the status of a transaction is in doubt.
public InDoubt ( Enlistment enlistment ) : void
enlistment System.Transactions.Enlistment An object used to send a response to the transaction manager.
리턴 void

Initialize() 공개 메소드

Initializes this instance.
public Initialize ( ) : void
리턴 void

Prepare() 공개 메소드

Notifies an enlisted object that a transaction is being prepared for commitment.
public Prepare ( PreparingEnlistment preparingEnlistment ) : void
preparingEnlistment System.Transactions.PreparingEnlistment A object used to send a response to the transaction manager.
리턴 void

RavenClientEnlistment() 공개 메소드

Initializes a new instance of the RavenClientEnlistment class.
public RavenClientEnlistment ( DocumentStoreBase documentStore, ITransactionalDocumentSession session, System.Action onTxComplete ) : System
documentStore DocumentStoreBase
session ITransactionalDocumentSession
onTxComplete System.Action
리턴 System

Rollback() 공개 메소드

Notifies an enlisted object that a transaction is being rolled back (aborted).
public Rollback ( Enlistment enlistment ) : void
enlistment System.Transactions.Enlistment A object used to send a response to the transaction manager.
리턴 void

Rollback() 공개 메소드

Rollbacks the specified single phase enlistment.
public Rollback ( SinglePhaseEnlistment singlePhaseEnlistment ) : void
singlePhaseEnlistment System.Transactions.SinglePhaseEnlistment The single phase enlistment.
리턴 void