TargetInvocationException 在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) 在 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) 在 System.Delegate.DynamicInvokeImpl(Object[] args) 在 Microsoft.Win32.SystemEvents.SystemEventInvokeInfo.InvokeCallback(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) InvalidOperationException 集合已修改;可能无法执行枚举操作。 在 System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource) 在 System.Collections.Generic.Dictionary`2.Enumerator.MoveNext() 在 R35iQcXc68TH6crx29v.hdpUWkXTLwuKVRhxPky.Reset() 在 UQaIgcXo3boif9k34gN.lOYee9XvKvfVf7WTVda.Stop() 在 ckNvHYXjLTIXZOOYvwE.xQYIM4XsQae5CucB8xt.h5tdWmTB2GJ() 在 System.Windows.Threading.DispatcherOperation.InvokeDelegateCore() 在 System.Windows.Threading.DispatcherOperation.InvokeImpl() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 System.Windows.Threading.DispatcherOperation.Wait(TimeSpan timeout) 在 System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherOperation operation, CancellationToken cancellationToken, TimeSpan timeout) 在 System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout) 在 System.Windows.Threading.Dispatcher.Invoke(Action callback) 在 ckNvHYXjLTIXZOOYvwE.xQYIM4XsQae5CucB8xt.AXkdW4BOgLs() 在 Quicker.Domain.Services.SystemEventsWatcher.gPmxFGLCWJX(Object , SessionSwitchEventArgs )