The calling thread cannot access this object because a different thread owns it.
Data analysis and visualization for Excel, for free
Brought to you by:
bovender
:::c#
System.InvalidOperationException: The calling thread cannot access this object because a different thread owns it.
at System.Windows.Threading.Dispatcher.VerifyAccess()
at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
at System.Windows.FrameworkElement.set_DataContext(Object value)
at Bovender.Mvvm.ViewModels.ViewModelBase.<>c__DisplayClass7.<InjectInto>b__4(Object sender, EventArgs args)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at Bovender.Mvvm.ViewModels.ViewModelBase.DoCloseView()
at Bovender.Versioning.UpdaterViewModel.DoInstallUpdate()
at Bovender.Versioning.UpdaterViewModel.<get_InstallUpdateCommand>b__a(Object param)
at Bovender.Mvvm.DelegatingCommand.Execute(Object parameter)
Message: The calling thread cannot access this object because a different thread owns it.
Anonymous