Exception:必须在与 DependencyObject 相同的线程上创建 DependencySource。

报错信息

ArgumentException: 必须在与 DependencyObject 相同的线程上创建 DependencySource。
--Message: 必须在与 DependencyObject 相同的线程上创建 DependencySource。
StackTrace:
   在 System.Windows.DependencyObject.ValidateSources(DependencyObject d, DependencySource[] newSources, Expression expr)
   在 System.Windows.Expression.ChangeSources(DependencyObject d, DependencyProperty dp, DependencySource[] newSources)
   在 System.Windows.Data.BindingExpressionBase.ChangeSources(WeakDependencySource[] newSources)
   在 MS.Internal.Data.ClrBindingWorker.ReplaceDependencySources()
   在 MS.Internal.Data.ClrBindingWorker.NewValueAvailable(Boolean dependencySourcesChanged, Boolean initialValue, Boolean isASubPropertyChange)
   在 MS.Internal.Data.PropertyPathWorker.UpdateSourceValueState(Int32 k, ICollectionView collectionView, Object newValue, Boolean isASubPropertyChange)
   在 MS.Internal.Data.ClrBindingWorker.OnSourcePropertyChanged(Object o, String propName)
   在 System.Windows.WeakEventManager.ListenerList`1.DeliverEvent(Object sender, EventArgs e, Type managerType)
   在 System.ComponentModel.PropertyChangedEventManager.OnPropertyChanged(Object sender, PropertyChangedEventArgs args)
   在 IntelliTools.Domain.MyClipboard.ClipItem.Profile.set_AccessTime(DateTime value)
   在 System.Collections.Generic.List`1.ForEach(Action`1 action)
   在 IntelliTools.Core.XAction.ClipItemExecuteExtensions.SetToClipboard(IEnumerable`1 clipItems, ExecuteContext context)
   在 IntelliTools.Domain.Menu.MenuItemWrapper.InternalClick(Object sender, RoutedEventArgs args)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
   在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

 

解决方法

暂无解决方案。

相关信息
1 查看
24天1小时前
Quicker版本
版本 反馈次数
1.44.18 1