hprose / hprose-dotnet

Hprose 3.0 for .NET
MIT License
383 stars 98 forks source link

1.5.8 UWP调用服务方法造成未响应的问题 #40

Closed fenghb1911 closed 5 years ago

fenghb1911 commented 5 years ago

你好,在1.5.8版本中uwp客户端调用服务端函数,使用以下语句: client.Invoke("Hello",new Object[]{"bbbb"}); 可以调用到server程序,但不会返回客户端调用处,且会造成uwp客户端程序未响应。 麻请问有没有解决办法?

andot commented 5 years ago

不要在主线程中使用同步调用。