public static void CreateTransactionResponse(Enlistment enlistment, Status status, object obj) { MsgCreateTransactionEvent e = (MsgCreateTransactionEvent)obj; CompletionEnlistment protocolProviderContext = (CompletionEnlistment)enlistment.ProtocolProviderContext; protocolProviderContext.StateMachine.Enqueue(new TmCreateTransactionResponseEvent(protocolProviderContext, status, e)); }
public void CreateTransaction(CompletionEnlistment completion, EnlistmentOptions options, MsgCreateTransactionEvent e) { DebugTrace.Trace(TraceLevel.Info, "Sending CreateTransaction to transaction manager"); this.propagation.CreateTransaction(completion.Enlistment, options, this.createTransactionResponseCallback, e); }
public void OnEvent(MsgCreateTransactionEvent e) { DebugTrace.TxTrace(TraceLevel.Info, e.Enlistment.EnlistmentId, "{0}", e); }