public override void OnEvent(TmEnlistTransactionResponseEvent e)
 {
     CoordinatorEnlistment coordinator = e.Coordinator;
     MsgEnlistTransactionEvent sourceEvent = e.SourceEvent;
     Status status = e.Status;
     if (status == Status.Success)
     {
         if (EnlistTransactionRecord.ShouldTrace)
         {
             EnlistTransactionRecord.Trace(coordinator.EnlistmentId, sourceEvent.Body.CurrentContext);
         }
         coordinator.OnCoordinatorEnlisted();
         coordinator.StateMachine.ChangeState(base.state.States.CoordinatorEnlisted);
     }
     else if (status == Status.DuplicateTransaction)
     {
         base.ForwardEnlistmentEventToSubordinate(sourceEvent);
         coordinator.StateMachine.ChangeState(base.state.States.CoordinatorInitializationFailed);
     }
     else
     {
         if (EnlistTransactionFailureRecord.ShouldTrace)
         {
             EnlistTransactionFailureRecord.Trace(coordinator.EnlistmentId, sourceEvent.Body.CurrentContext, Microsoft.Transactions.SR.GetString("PplCreateSuperiorEnlistmentFailed", new object[] { e.Status.ToString() }));
         }
         coordinator.ContextManager.Fault = base.state.Faults.TMEnlistFailed(e.Status);
         coordinator.StateMachine.ChangeState(base.state.States.CoordinatorInitializationFailed);
     }
 }
 public virtual void OnEvent(TmEnlistTransactionResponseEvent e)
 {
     this.InvalidTransactionManagerEvent(e);
 }
 public void OnEvent(TmEnlistTransactionResponseEvent e)
 {
     DebugTrace.TxTrace(TraceLevel.Info, e.Enlistment.EnlistmentId, "{0} {1}", e, e.Status);
 }