I can't repro this on my machine, but on a customers machine my app throws the following exception:
The Undo operation encountered a context that is different from what was applied in the corresponding Set operation. The possible cause is that a context was Set on the thread
and not reverted(undone).
at System.Threading.ExecutionContext.runFinallyCode(Object userData, Boolean exceptionThrown)
View Complete Post