Exception escapes from workflow despite TryCatch activity
问题 I have a workflow inside a Windows Service that is a loop that performs work periodically. The work is done inside a TryCatch activity. The Try property is a TransactionScope activity that wraps some custom activities that read and update a database. When the transaction fails, I would expect any exception that caused this to be caught by the TryCatch . However, my workflow aborts. The workflow I have is the following: var wf = new While(true) { Body = new Sequence { Activities = { new