public override void OnEvent(TransactionContextEnlistTransactionEvent e)
        {
            e.ContextManager.Requests.Enqueue(e);
            e.StateMachine.ChangeState(base.state.States.TransactionContextInitializingCoordinator);
            CoordinatorEnlistment     coordinator = new CoordinatorEnlistment(base.state, e.ContextManager, e.Body.CurrentContext, e.Body.IssuedToken);
            CreateCoordinationContext body        = e.Body;
            MsgEnlistTransactionEvent event2      = new MsgEnlistTransactionEvent(coordinator, ref body, e.Result);

            coordinator.StateMachine.Enqueue(event2);
        }
示例#2
0
 public virtual void OnEvent(TransactionContextEnlistTransactionEvent e)
 {
     this.InvalidInternalEvent(e);
 }
 public override void OnEvent(TransactionContextEnlistTransactionEvent e)
 {
     base.state.ActivationCoordinator.SendFault(e.Result, e.ContextManager.Fault);
 }
 public override void OnEvent(TransactionContextEnlistTransactionEvent e)
 {
     base.state.ActivationCoordinator.SendCreateCoordinationContextResponse(e.ContextManager.TransactionContext, e.Result);
 }
示例#5
0
 public override void OnEvent(TransactionContextEnlistTransactionEvent e)
 {
     e.ContextManager.Requests.Enqueue(e);
 }