1

我有一个 Silverlight 客户端,它正在与 WCF 服务通信并执行一些操作

大多数情况下,这些操作会很快,但通常不会,所以我需要一种避免 WCF 超时的方法,方法是将工作本质上传递到它自己的“线程”服务器端,并让客户端知道操作何时完成完全的

我在这里搜索并找到了对以下文章的参考

http://msdn.microsoft.com/en-us/magazine/cc163482.aspx

我已经下载了样本

它的目标是 .NET 2,因此我已将其更新为 4.5,并且 c:\program 文件中不存在所需的 IDesign 文件夹,因此我创建了它

安装 MSMQ 并尝试运行客户端后,我收到以下错误

HResult=-1072824317
Message=An error occurred while opening the queue:Unrecognized error -1072824317   (0xc00e0003). The  message cannot be sent or received from the queue. Ensure that MSMQ is installed and running. Also ensure that the queue is available to open with the required access mode 

有谁知道这里有什么问题?我对 MSMQ 很陌生

我注意到这段代码很旧(2006 年),那么现在有更好的方法吗?

保罗

4

0 回答 0