The operation is not valid for the state of the transaction when trying to make Bus.SendLocal in Handler (local Azure worker)
问题 I have a next code: class ProcessHandler : IHandleMessages<StartProcess> { public IBus Bus { get; set; } public void Handle(StartProcess message) { //some long living process (over 3 min) Bus.SendLocal(new SameMessage()); //get error here } } error message: The operation is not valid for the state of the transaction. stack trace: *at System.Transactions.TransactionState.EnlistVolatile(InternalTransaction tx, IEnlistmentNotification enlistmentNotification, EnlistmentOptions enlistmentOptions,