How to invoke a method on the UI thread from within a worker thread? [duplicate]
You need to make sure you are invoking on the actual UI Dispatcher
, not necessarily the Current
. You could try passing in the UI Dispatcher
, or have some form of callback that will be handled by the UI somewhere.