检测msmq里消息的数量
生活随笔
收集整理的這篇文章主要介紹了
检测msmq里消息的数量
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1 using System.Diagnostics;
2
3 PerformanceCounter objCounter = new PerformanceCounter("MSMQ Queue", "Messages in Queue", @"mymachine\private$\MyQueue");
4
5 int count = (int)(objCounter.NextValue()); View Code
?
轉載于:https://www.cnblogs.com/xmyy/articles/3859838.html
總結
以上是生活随笔為你收集整理的检测msmq里消息的数量的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 现代软件工程 第十六章 【IT 行业的创
- 下一篇: cxGrid 使用指南 1