未从相应的异步方法返回IAsyncResult对象 [英] IAsyncResult object was not returned from the corresponding asynchronous method
本文介绍了未从相应的异步方法返回IAsyncResult对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我在回调方法中遇到此错误。
IAsyncResult对象是没有从这个类的相应异步方法返回。
跟踪指出了udp的EndRecieve客户。
可以帮助我解决这个问题。
解决方案
什么是完整的异常,堆栈跟踪如何?
此外,请确保传递传递给回调的IAsyncResult对象,并正确回到EndReceive调用。
Hi All,
im getting this error in a callback method.
The IAsyncResult object was not returned from the corresponding asynchronous method on this class.
the trace is pointing out the the EndRecieve of a udp client.
can any help me fix this.
解决方案
What's the full exception, and the stack trace like ?
Furthermore make sure you are passing the IAsyncResult object passed to your callback, back to the EndReceive call properly.
这篇关于未从相应的异步方法返回IAsyncResult对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文