Open ajith-karkera opened 1 year ago
Can you provide a project or code that reproduces this exception? At the moment I don't have enough information to understand the problem
Hi @HavenDV ,
Below is the code snippet:
PipeClient
Hi @HavenDV , Any update on the issue?
Hi @HavenDV ,
We dont see the above issue anymore, But the below error:
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ComponentModel.InvalidAsynchronousStateException
at System.Windows.Forms.Control.WaitForWaitHandle(System.Threading.WaitHandle)
at System.Windows.Forms.Control.MarshaledInvoke(System.Windows.Forms.Control, System.Delegate, System.Object[], Boolean)
at System.Windows.Forms.Control.Invoke(System.Delegate, System.Object[])
at App.Service.set_StatusUpdate(System.String)
at App.Service.OnExceptionOccurred(System.Object, H.Pipes.Args.ExceptionEventArgs)
at H.Pipes.PipeClient`1+<
Description: The process was terminated due to an unhandled exception. Exception Info: System.IO.FileLoadException at System.Threading.Tasks.ValueTask.get_IsCompleted() at H.Pipes.PipeClientb__46_0>d[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext()
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
1+<DisconnectInternalAsync>d__48[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) at H.Pipes.PipeClient
1+<