Exception:Failed to open clipboard for set operation.要求的剪貼簿作業失敗。

报错信息

InvalidOperationException: Failed to open clipboard for set operation.
StackTrace:
   於 BetterClip.Helpers.ClipboardHelper.SetDataObject(IDataObject data, Boolean copy, Int32 maxAttempts, Int32 delayMs)
   於 BetterClip.Core.XAction.Steps.ClipboardActionStep.Execute(IExecuteContext context)
   於 BetterClip.Core.XAction.ActionExecuteExtensions.Execute(IExecutable executable)
   於 IntelliTools.Core.XAction.ClipItemExecuteExtensions.SetToClipboard(IEnumerable`1 items, ExecuteContext context)
   於 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   於 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   於 System.Windows.Controls.Primitives.ButtonBase.OnClick()
   於 System.Windows.Controls.Button.OnClick()
   於 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
   於 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   於 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   於 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   於 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   於 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   於 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   於 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   於 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   於 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   於 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   於 System.Windows.Input.InputManager.ProcessStagingArea()
   於 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   於 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   於 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   於 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   於 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   於 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   於 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   於 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)

ExternalException: 要求的剪貼簿作業失敗。
--ErrorCode: -2147221040
StackTrace:
   於 System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr)
   於 System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
   於 BetterClip.Helpers.ClipboardHelper.SetDataObject(IDataObject data, Boolean copy, Int32 maxAttempts, Int32 delayMs)

 

解决方法

暂无解决方案。

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