I have a VS2017 UWP solution that uses MVVM and communicate with RS232.
I can update the GUI and get values changed on RaisePropertyChanged();
When the RS232 communication is receiving data this will be in another thread.
I get the data from the RS232 and tries to update the Property Kredit.
When i call RaisePropertyChanged(); to get the data to the GUI I get this message.
"The application called an interface that was marshalled for a different thread....."
So I need to get this "invoked/dispached" to the GUI thread..
Because this is a RS232 communication the change of code is easiest to be done in TeamViewer with my PC.