Visual Studio 2010 中的消息队列
当我使用 ASP.NET 用 C# 编写一段代码时,我需要创建一个消息队列来存储故障消息。但是,我在 Visual Studio 2010 的命名空间库中找不到 System.Messaging 命名空间。有谁知道我现在如何使用消息队列?
While i was writing a piece of code in C# using ASP.NET i needed to create a message queue to store fault messages. However, I couldn't find the System.Messaging namespace in the namespace library in Visual Studio 2010. Does anyone know how can I use message queuing now?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
核心 System.Messaging 类位于它们自己的程序集中:您必须添加对该程序集的引用才能使用它们。 (您应该使用“添加引用”对话框中“.NET”选项卡上找到的全局程序集缓存中的版本。)
The core System.Messaging classes are in their own assembly: you have to add a reference to that assembly to use them. (You should use the version from the Global Assembly Cache found on the ".NET" tab in the Add Reference dialog.)