Menu

#56 The calling thread cannot access this object because a different thread owns it.

nobody
None
66a076a4
7.0.0-alpha.12
2010 SP2 (14.0.7155)
32-bit
Microsoft Windows NT 6.1.7601 Service Pack 1
64-bit
4.0.30319.34209
3.16.0
2015-09-21
2015-09-21
No

Exception:

:::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.

Discussion

Anonymous
Anonymous

Add attachments
Cancel