Exception:值不能为 null。 参数名: SafeHandle 不能为 null。

报错信息 1
ArgumentNullException: 值不能为 null。
参数名: SafeHandle 不能为 null。
StackTrace:
   在 System.StubHelpers.StubHelpers.SafeHandleAddRef(SafeHandle pHandle, Boolean& success)
   在 Microsoft.Win32.Win32Native.SetEvent(SafeWaitHandle handle)
   在 System.Threading.EventWaitHandle.Set()
   在 System.Threading.ManualResetEventSlim.Set(Boolean duringCancellation)
   在 System.Threading.Tasks.Task.ContingentProperties.SetCompleted()
   在 System.Threading.Tasks.Task`1.TrySetResult(TResult result)
   在 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.SetResult(TResult result)
   在 GXXCBmPhQIAMrrKqJoLJ.RA6SwsPhUgoIM5sJO7XN.<>c.pYwN9Fc81Djb4nZ6yxEg.MoveNext()
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.Run()
   在 System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(Action action, Boolean allowInlining, Task& currentTask)
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   在 System.Threading.ThreadPoolWorkQueue.Dispatch()

版本:1.44.22 2025-10-27 18:09 Microsoft Windows NT 10.0.26100.0