views:

14

answers:

0

We have a composite wpf solution which use MVVM. there is a view class, in its code behind, we use a new worker thread to connect to a legacy system and load it into WindowsFormHost in xaml file using a third party app. When user logon the solution, it tries to load three instances of view class on three tabs. sometimes we get "Windows Forms Application Thread Exception" on one of three tabs.

Is this race condition probelm? How can we do to prevent from this multi thread issue?