Code Monkey home page Code Monkey logo

Comments (5)

HavenDV avatar HavenDV commented on May 26, 2024

Can you provide a project or code that reproduces this exception? At the moment I don't have enough information to understand the problem

from h.pipes.

ajith-karkera avatar ajith-karkera commented on May 26, 2024

Hi @HavenDV ,

Below is the code snippet:

PipeClient m_client = new PipeClient("NamedPipeServer", formatter: new NewtonsoftJsonFormatter(), reconnectionInterval: new TimeSpan(0, 0, 0, 0, 100));
m_client.MessageReceived += OnMessageReceived;
m_client.ExceptionOccurred += OnExceptionOccurred;
m_client.Connected += OnConnected;
m_client.Disconnected += OnDisconnected;
m_client.AutoReconnect = true;
await m_client.ConnectAsync();
await Task.Delay(Timeout.InfiniteTimeSpan);

from h.pipes.

ajith-karkera avatar ajith-karkera commented on May 26, 2024

Hi @HavenDV ,
Any update on the issue?

from h.pipes.

HavenDV avatar HavenDV commented on May 26, 2024

Hi @HavenDV , Any update on the issue?

Please check 2.0.42

from h.pipes.

ajith-karkera avatar ajith-karkera commented on May 26, 2024

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+<b__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()

from h.pipes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.