DoRollback() static private méthode

Rolls back a transaction given the ID
static private DoRollback ( ITransactionExecutionEnvironment transactionExecutionEnvironment, NameValueCollection customHeaders = null ) : void
transactionExecutionEnvironment ITransactionExecutionEnvironment The transaction execution environment
customHeaders NameValueCollection
Résultat void
 public void Rollback(Enlistment enlistment)
 {
     try
     {
         Neo4jTransaction.DoRollback(_transactionExecutionEnvironment);
     }
     finally
     {
         // always have to call Done() or we clog the resources
         enlistment.Done();
     }
 }